Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron Support #264

Closed
panva opened this issue Sep 9, 2021 · 0 comments
Closed

Electron Support #264

panva opened this issue Sep 9, 2021 · 0 comments
Labels

Comments

@panva
Copy link
Owner

panva commented Sep 9, 2021

Electron versions >=23.0.0 are supported. The following support tables are for the main process. You may also import the library in the renderer process in which case the applicable support tables follow Browser support.

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: Ed25519, X25519
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 EdDSA
HMAC with SHA-2 HS256, HS384, HS512
Unsecured JWS none

JWE Key Management Algorithm Support

Supported alg values
AES GCM A128GCMKW, A192GCMKW, A256GCMKW
Direct Key Agreement dir
RSAES OAEP RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512
RSAES-PKCS1-v1_5 RSA1_5 This algorithm is DEPRECATED and will be removed
ECDH-ES ECDH-ES

JWE Content Encryption Algorithm Support

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

Unsupported Algorithms or Key Types

Due to the runtime limitations the following is not supported in Electron:

  • A128KW, A192KW, and A256KW
  • PBES2-HS256+A128KW, PBES2-HS384+A192KW, and PBES2-HS512+A256KW
  • ECDH-ES+A128KW, ECDH-ES+A192KW, and ECDH-ES+A256KW
  • secp256k1 and ES256K
  • Ed448
  • X448

See also

@panva panva added the notice label Sep 9, 2021
Repository owner locked and limited conversation to collaborators Sep 9, 2021
@panva panva closed this as completed Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant