From 329acaf56ce387e582056a4d13f204e3fcbf91af Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Mon, 11 Dec 2023 15:17:35 -0400 Subject: [PATCH] Revert me: debug print the msg/sig/signer --- llarp/router_contact_remote.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llarp/router_contact_remote.cpp b/llarp/router_contact_remote.cpp index d47e41933..1f402a4aa 100644 --- a/llarp/router_contact_remote.cpp +++ b/llarp/router_contact_remote.cpp @@ -66,6 +66,9 @@ namespace llarp throw std::runtime_error{err}; } + log::error(log::Cat("FIXME"), "ABOUT TO VERIFY THIS: {}, WITH SIG {}, SIGNED BY {}", + oxenc::to_hex(msg), oxenc::to_hex(sig), oxenc::to_hex(router_id().ToHex())); + if (not crypto::verify(router_id(), msg, sig)) throw std::runtime_error{"Failed to verify RemoteRC signature"}; });