From dd1e04ab53747f362b550d59d24331979a27a5bf Mon Sep 17 00:00:00 2001 From: hardened_malloc <288914967+0x00001312@users.noreply.github.com> Date: Mon, 8 Jun 2026 16:44:15 +0200 Subject: [PATCH] fix: return Ed25519 verify result from Identity::validate Implementing Fix provided by SAY-5 (https://github.com/SAY-5) for the official microReticulum lib --- src/Identity.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Identity.cpp b/src/Identity.cpp index f5b7110..8464206 100644 --- a/src/Identity.cpp +++ b/src/Identity.cpp @@ -823,8 +823,7 @@ bool Identity::validate(const Bytes& signature, const Bytes& message) const { if (_object->_pub) { try { TRACEF("Identity::validate: Attempting to verify signature: %s and message: %s", signature.toHex().c_str(), message.toHex().c_str()); - _object->_sig_pub->verify(signature, message); - return true; + return _object->_sig_pub->verify(signature, message); } catch (std::exception& e) { return false;