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
At present, signature verification is handled inconsistently across Web5 SDKs:
JS and Go return a boolean false if a signature isn't valid
Dart and Kotlin raise an exception
The associated test vectors for ES256K/secp256k1 and Ed25519 indicate that a boolean false should be returned and that no error should be raised/returned.
Work to be done
Come to a decision on whether a boolean or error raise should occur when a signature fails the verification check.
Update the associated test vectors.
Update the SDKs that need to be modified accordingly.
Ensure all SDKs pass the test vectors.
The text was updated successfully, but these errors were encountered:
Context
At present, signature verification is handled inconsistently across Web5 SDKs:
false
if a signature isn't validThe associated test vectors for ES256K/secp256k1 and Ed25519 indicate that a boolean
false
should be returned and that no error should be raised/returned.Work to be done
The text was updated successfully, but these errors were encountered: