]> 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>
Mon, 29 Dec 2025 22:34:48 +0000 (17:34 -0500)
commit853a7a09d38eccffb65a83a4a45cbb9037d96135
treed821ac19040b2a69e187ec18040db701320b13dd
parent927b79fb7d0f518d6e8b39203a5965f5670ac1c0
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