Skip to content

Investigate and fix JWK parsing for WebCryptoAPI #4552

@npaun

Description

@npaun

There are so many failing WPT tests relating to JWK parsing that it likely points to some issues with our implementation. We should look at our implementation and see if it needs fixing.

Examples:

  • Invalid 'crv' field: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign])
  • Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify])
  • Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign])

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions