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

Switch from node-forge to PKI.js #13894

Merged
merged 4 commits into from
Feb 4, 2022
Merged

Switch from node-forge to PKI.js #13894

merged 4 commits into from
Feb 4, 2022

Commits on Feb 3, 2022

  1. Switch parse-pki-cert from node-forge to PKI.js

    This replaces the implementation of parse-pki-cert to use PKI.js rather
    than node-forge for two reasons:
    
     - PKI.js uses Web Crypto rather than maintaining a built-in
       implementation of several algorithms.
     - node-forge presently lacks support for ECDSA and Ed25519
       certificates.
    
    Related: #13680
    
    Signed-off-by: Alexander Scheel <[email protected]>
    cipherboy committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    40e1c7c View commit details
    Browse the repository at this point in the history
  2. Add dependency on PKI.js

    $ yarn add -D asn1js pvutils pkijs
    
    Signed-off-by: Alexander Scheel <[email protected]>
    cipherboy committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    88dda37 View commit details
    Browse the repository at this point in the history
  3. Remove dependency on node-forge

    $ yarn remove node-forge
    
    Signed-off-by: Alexander Scheel <[email protected]>
    cipherboy committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    8f17f8b View commit details
    Browse the repository at this point in the history
  4. Add changelog entry

    Signed-off-by: Alexander Scheel <[email protected]>
    cipherboy committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    eae7863 View commit details
    Browse the repository at this point in the history