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
Is your feature request related to a problem? Please describe.
With the addition of different public key types, it is possible to create a signer with an incompatible public key
Describe the solution you'd like
Check public key type is valid before creating signer, currently it must be ed25519, return an error if not
Describe alternatives you've considered
N/a
Additional context crypto/cipher/nacl/decrypt.goNewDecrypter gives an example of how this could be done.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
With the addition of different public key types, it is possible to create a signer with an incompatible public key
Describe the solution you'd like
Check public key type is valid before creating signer, currently it must be
ed25519
, return an error if notDescribe alternatives you've considered
N/a
Additional context
crypto/cipher/nacl/decrypt.go
NewDecrypter
gives an example of how this could be done.The text was updated successfully, but these errors were encountered: