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
This really problematic because it makes it impossible to communicate why verification has failed. In some cases it may be because signature is invalid, or because signature algorithm does not match the algorithm of the verifier. Or perhaps verifier needs to load key on demand but fail to do so.
Result type is much better fit as it can communicate reason why verification has failed.
The text was updated successfully, but these errors were encountered:
Currently
Verifier
interface definesverify
method as follows:This really problematic because it makes it impossible to communicate why verification has failed. In some cases it may be because signature is invalid, or because signature algorithm does not match the algorithm of the verifier. Or perhaps verifier needs to load key on demand but fail to do so.
Result type is much better fit as it can communicate reason why verification has failed.
The text was updated successfully, but these errors were encountered: