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
We are aiming to make the JS crypto API to follow the Web Crypto API in behavior.
To do so, #2735 changed ccf.crypto.verifySignature to accept IEEE P1363 as signature's encoding format from DER when ECDSA is used.
But recently added ccf.crypto.sign doesn't follow it and creates DER encoded signature and we need to fix it.
Also we haven't checked encoding to use for EdDSA, so we need to check it from Web Crypto API spec.
The text was updated successfully, but these errors were encountered:
achamayou
changed the title
Fix encoding of sing() JS API function
Fix encoding of sign() JS API function
Jan 10, 2023
We are aiming to make the JS crypto API to follow the Web Crypto API in behavior.
To do so, #2735 changed
ccf.crypto.verifySignature
to accept IEEE P1363 as signature's encoding format from DER whenECDSA
is used.But recently added
ccf.crypto.sign
doesn't follow it and creates DER encoded signature and we need to fix it.Also we haven't checked encoding to use for
EdDSA
, so we need to check it from Web Crypto API spec.The text was updated successfully, but these errors were encountered: