]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
auth/cephx: provide more debugging when sig checks fail
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 29 May 2025 15:52:34 +0000 (11:52 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 1 Oct 2025 18:47:10 +0000 (14:47 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/auth/cephx/CephxSessionHandler.cc

index e55babd039b2249b659d247c15de04f35f40413d..6e14fa1a865fa8fda87cb141263a7fc091f4abdc 100644 (file)
@@ -198,6 +198,10 @@ int CephxSessionHandler::check_message_signature(Message *m)
     ldout(cct, 0) << "SIGN: MSG seq " << m->get_seq() << "          sig: " << m->get_footer().sig << dendl;
     ldout(cct, 0) << "SIGN: MSG seq " << m->get_seq() << " Locally calculated signature:" << dendl;
     ldout(cct, 0) << "SIGN: MSG seq " << m->get_seq() << "    sig_check: " << sig << dendl;
+    ldout(cct, 30) << "key: " << key << dendl;
+    ldout(cct, 30) << "protocol: " << protocol << dendl;
+    ldout(cct, 30) << "features: " << features << dendl;
+    ldout(cct, 30) << "message: " << *m << dendl;
 
     // For the moment, printing an error message to the log and
     // returning failure is sufficient.  In the long term, we should