Skip to content

Export feature for P-521 and X25519 cryptoKey #26431

Open
@Srabutdotcom

Description

It would be better if Deno fully support for Webcrypto API,..

I have tested that deno can create P-521 and X25519 cryptoKey like a charm.
P-521 cryptoKey

  • export to JWK failed on both private and public key - NotSupportedError: Unsupported namedCurve
  • export to RAW failed - TypeError: expected valid private EC key

X25519 cryptoKey

  • export to JWK failed on private key only - NotSupportedError: Not implemented

Metadata

Assignees

No one assigned

    Labels

    cryptoRelated to node:crypto or WebCryptoext/cryptorelated to the ext/crypto cratefeatnew feature (which has been agreed to/accepted)webrelated to Web APIs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions