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

src: add --openssl-legacy-provider option #40478

Closed
wants to merge 4 commits into from

Commits on Oct 18, 2021

  1. deps: add missing legacyprov.c source

    This commit add the missing legacy provider source code which is
    requried for statically linking the OpenSSL legacy provider.
    
    Co-authored-by: Richard Lau <[email protected]>
    danbev and richardlau committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    1d10df9 View commit details
    Browse the repository at this point in the history
  2. deps: regenerate OpenSSL arch files

    Co-authored-by: Richard Lau <[email protected]>
    danbev and richardlau committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    9bb7bd8 View commit details
    Browse the repository at this point in the history
  3. src: add --openssl-legacy-provider option

    This commit adds an option to Node.js named --openssl-legacy-provider
    and if specified will load OpenSSL 3.0 Legacy provider.
    
    $ ./node --help
    ...
    --openssl-legacy-provider  enable OpenSSL 3.0 legacy provider
    
    Example usage:
    
    $ ./node --openssl-legacy-provider  -p 'crypto.createHash("md4")'
    Hash {
      _options: undefined,
      [Symbol(kHandle)]: Hash {},
      [Symbol(kState)]: { [Symbol(kFinalized)]: false }
    }
    
    Co-authored-by: Richard Lau <[email protected]>
    
    Refs: nodejs#40455
    danbev committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    86d1c0c View commit details
    Browse the repository at this point in the history
  4. squash! src: add --openssl-legacy-provider option

    Update link and link text.
    danbev committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    780b643 View commit details
    Browse the repository at this point in the history