Merge pull request #1 from 0x00001312/master

[Security Patch] Fixing Ed25519 signature verification bypass
This commit is contained in:
dude.eth authored and GitHub committed 2026-06-12 13:55:29 -06:00
commit 15b9f13db6
1 file changed
+1 -2
+1 -2
View File
@@ -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;