]> 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, 26 Jan 2026 15:27:51 +0000 (10:27 -0500)
commit8b13bd05d5b31d831eda6813bbc7939e0529dc01
tree06f96e321dfe65357af36f1a4e324bd8a8b9a7c1
parentae4ebc00075220755dd3bfae5704e326b69bd6f7
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