From 37b7a07681f634c1a930bdb70f670e81c59a57e7 Mon Sep 17 00:00:00 2001 From: AlexCato Date: Fri, 25 Jan 2019 00:15:57 +0100 Subject: [PATCH] Report which nick lead to sig verification failure --- jmclient/jmclient/client_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmclient/jmclient/client_protocol.py b/jmclient/jmclient/client_protocol.py index 6053228..904c3ab 100644 --- a/jmclient/jmclient/client_protocol.py +++ b/jmclient/jmclient/client_protocol.py @@ -110,7 +110,7 @@ class JMClientProtocol(amp.AMP): hashlen, max_encoded, hostid): verif_result = True if not btc.ecdsa_verify(str(msg), sig, pubkey): - jlog.debug("nick signature verification failed, ignoring.") + jlog.debug("nick signature verification failed, ignoring: " + str(nick)) verif_result = False #check that nick matches hash of pubkey nick_pkh_raw = btc.bin_sha256(pubkey)[:hashlen]