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 tests for EDDSA (& EDDH?) rely on this so they're already broken.
How often does it reproduce? Is there a required condition?
100%. Export a private EDDSA (e.g. ed25519) key with the "raw" format.
What is the expected behavior?
WebCrypto defines ECDSA and ECDH as not allowing import/export of private keys in the "raw" format. The proposed spec indicates raw export of private keys should similarly not be allowed & I raised this point in tQsW/webcrypto-curve25519#8 and w3c/webcrypto#233.
What do you see instead?
The tests don't cover that "raw" export of private keys is disallowed. Additionally, the tests rely on this functionality.
Additional information
Helpful conversion of raw key format to pkcs8/spki. These keys can be added & the tests reworked.
This point was noted in the original feature work but it seems like it was overlooked?
@vlovich it is worth pointing out that Node.js does not implement the proposal, it is intentionally using Vendor-specific proprietary extensions for Ed25519/X25519/Ed448/X25519. Nevertheless it was not intended to have them exportable, I've raised #38668 to correct this.
What steps will reproduce the bug?
The tests for EDDSA (& EDDH?) rely on this so they're already broken.
How often does it reproduce? Is there a required condition?
100%. Export a private EDDSA (e.g. ed25519) key with the "raw" format.
What is the expected behavior?
WebCrypto defines ECDSA and ECDH as not allowing import/export of private keys in the "raw" format. The proposed spec indicates raw export of private keys should similarly not be allowed & I raised this point in tQsW/webcrypto-curve25519#8 and w3c/webcrypto#233.
What do you see instead?
The tests don't cover that "raw" export of private keys is disallowed. Additionally, the tests rely on this functionality.
Additional information
Helpful conversion of raw key format to pkcs8/spki. These keys can be added & the tests reworked.
This point was noted in the original feature work but it seems like it was overlooked?
The text was updated successfully, but these errors were encountered: