Skip to content

Browser Support #263

@panva

Description

@panva

JSON Web Key Type Support

Supported kty value
RSA RSA
Elliptic Curve EC supported curves: P-256, P-384, P-521
Octet Key Pair OKP supported subtypes: Ed255191, X255192
Octet sequence oct

JWS Algorithm Support

Supported alg values
RSASSA-PKCS1-v1_5 RS256, RS384, RS512
RSASSA-PSS PS256, PS384, PS512
ECDSA ES256, ES384, ES512
Edwards-curve DSA EdDSA1, Ed255191
HMAC with SHA-2 HS256, HS384, HS512
Unsecured JWS none

JWE Key Management Algorithm Support

Supported alg values
AES A128KW, A192KW3, A256KW
AES GCM A128GCMKW, A192GCMKW3, A256GCMKW
Direct Key Agreement dir
RSAES OAEP RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512
PBES2 PBES2-HS256+A128KW, PBES2-HS384+A192KW3, PBES2-HS512+A256KW
ECDH-ES ECDH-ES, ECDH-ES+A128KW, ECDH-ES+A192KW3, ECDH-ES+A256KW

JWE Content Encryption Algorithm Support

Supported enc values
AES GCM A128GCM, A192GCM3, A256GCM
AES CBC w/ HMAC A128CBC-HS256, A192CBC-HS3843, A256CBC-HS512

Unsupported Algorithms or Key Types

Due to the use of Web Cryptography API the following is not supported in any browser vendor runtime:

  • RSA1_5
  • secp256k1 / ES256K
  • Ed448
  • X448

See also

Footnotes

  1. Available in Chromium >= 137, Safari >= 17.0, and Firefox >= 129 2 3

  2. Available in Chromium >= 133, Safari >= 18.4, and Firefox >= 132

  3. 192 bit AES keys are not supported in Chromium. 2 3 4 5 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions