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
The reason is for this bug is confusion over trying to match the behavior of JWS.verify in jose, which returns the verified payload or throws an error....
I think the correct behavior for "verifyDetached"... should be:
For these methods to work consistently and return
false
on verification failure, I had to wrap into try / catch like here:Wondering which implementation
secp256k1
orEdDSA
supposed to be original one.The text was updated successfully, but these errors were encountered: