]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
auth: CryptoKey, use secret in CryptoKeyHandler
authorMarcus Watts <mwatts@redhat.com>
Tue, 4 Nov 2025 01:50:24 +0000 (20:50 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 29 Dec 2025 22:34:47 +0000 (17:34 -0500)
commit6d7a6753ecb1f0fa217ded22f1bc9520d0c4da17
tree5cb0dbc74829fe880158591cbd8dfc5598845708
parentead22f1df941c9cd3463290437607e34c326c337
auth: CryptoKey, use secret in CryptoKeyHandler

Keep only one copy of secret in CryptoKeyHandler.  This will reduce
the number of copies made in memory.  Also introduce bool() and ==
opeartors so we can hide implementation details.

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