]> git-server-git.apps.pok.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>
Mon, 26 Jan 2026 15:27:09 +0000 (10:27 -0500)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/auth/cephx/CephxSessionHandler.cc

index f2545d1d5e8791fff5fcdd259e0259d2bdf8a7be..f55ab565886cca95e3a3c536b2955a402c183766 100644 (file)
@@ -199,6 +199,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