]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
auth: CryptoKey, dynamic usage keys
authorMarcus Watts <mwatts@redhat.com>
Sat, 15 Nov 2025 02:57:53 +0000 (21:57 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 10 Feb 2026 17:59:50 +0000 (12:59 -0500)
commitd027f3f618f22582c64f291dfa92091c980d1030
tree85de28033f4cd2e79706e35d5ee32cb04a9d7fb8
parent229947b6bd9af67e7d506cc8dce821188c038a46
auth: CryptoKey, dynamic usage keys

Make it possible to specify usage that was not initially declared
when the secret was set in CryptoKey.  As a prerequisite, simplify
the per-usage key storage structures so that is is less heavy-weight
and thread-safe.

Also, extend various encrypt and decrypt apis to enable passing
suage down to CryptoKey.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/auth/Crypto.cc
src/auth/Crypto.h