You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(PublicKey)VerifyRevocationSignature appears also to be able to verify any direct signature. Is this intentional? And can I rely on it always working for direct certifications? :-)
The text was updated successfully, but these errors were encountered:
andrewgdotcom
changed the title
VerifyRevocationSignature is misname
VerifyRevocationSignature is misnamed
Nov 23, 2023
Hi, good question. Yes, it should work since direct-key signatures are computed on the same hash of the key to be signed, and the signature types are not checked.
The next update of the go-crypto library includes a dedicated function to verify direct-key signatures although the logic is the same.
Thanks, that's what it looked like from the code but I wanted to make sure it wouldn't unexpectedly break at some point in the future if I relied upon it. :-)
(PublicKey)VerifyRevocationSignature appears also to be able to verify any direct signature. Is this intentional? And can I rely on it always working for direct certifications? :-)
The text was updated successfully, but these errors were encountered: