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: include crypto in the bootstrap snapshot #42203

Closed
wants to merge 6 commits into from

Commits on Mar 3, 2022

  1. src: include internal/options in the snapshot

    This patch enables internal/options to be included in the snapshot,
    so that when lazy loading the run time options, the modules only
    need to make sure that the options are queried lazily and do not
    have to lazy load the internal/options module together. We can
    still guarantee that no run time options are serialized into the
    state-independent bootstrap snapshot with the assertion inside
    GetCLIOptions().
    joyeecheung committed Mar 3, 2022
    Copy the full SHA
    6b0c111 View commit details
    Browse the repository at this point in the history
  2. src: include crypto in the bootstrap snapshot

    To lazy load the run time options, the following properties
    are updated from value properties to accessor properties
    whose getter would turn them back to a value properties
    upon the initial access.
    
    - crypto.constants.defaultCipherList
    - crypto.pseudoRandomBytes
    - crypto.prng
    - crypto.rng
    joyeecheung committed Mar 3, 2022
    Copy the full SHA
    b70ed6d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9be337e View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Copy the full SHA
    fd0403b View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. Copy the full SHA
    099876e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    22b7b8c View commit details
    Browse the repository at this point in the history