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

crypto: add keyObject.export() JWK format option #37081

Closed
wants to merge 10 commits into from

Commits on Feb 2, 2021

  1. crypto: add keyObject.export() 'jwk' format option

    Adds [JWK](https://tools.ietf.org/html/rfc7517) keyObject.export format
    option.
    
    Supported key types: `ec`, `rsa`, `ed25519`, `ed448`, `x25519`, `x448`,
    and symmetric keys, resulting in JWK `kty` (Key Type) values `EC`,
    `RSA`, `OKP`, and `oct`.
    
    `rsa-pss` is not supported since the JWK format does not support
    PSS Parameters.
    
    `EC` JWK curves supported are `P-256`, `secp256k1`, `P-384`, and `P-521`
    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    9f6e3d1 View commit details
    Browse the repository at this point in the history
  2. add custom doc type

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    5ba12fb View commit details
    Browse the repository at this point in the history
  3. add doc changes entry

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    1cfd243 View commit details
    Browse the repository at this point in the history
  4. address doc comments

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    25a6c8c View commit details
    Browse the repository at this point in the history
  5. add makefile for fixtures

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    955696f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a76db7a View commit details
    Browse the repository at this point in the history
  7. Update doc/api/crypto.md

    Co-authored-by: James M Snell <[email protected]>
    panva and jasnell committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    5f03cdf View commit details
    Browse the repository at this point in the history
  8. apply review feedback

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    5ca795c View commit details
    Browse the repository at this point in the history
  9. address nits

    panva committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    44d49e0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a6d1e96 View commit details
    Browse the repository at this point in the history