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

Use CryptoRandomBytes instead of CryptoRandomString #18439

Merged
merged 16 commits into from
Feb 4, 2022

Commits on Jan 28, 2022

  1. Use CryptoRandomBytes instead of CryptoRandomString

    - Switch to use `CryptoRandomBytes` instead of `CryptoRandomString`,
    OAuth's secrets are copied pasted and don't need to avoid dubious
    characters etc.
    - `CryptoRandomBytes` gives 44^256 = 5.295 * 10^420 `CryptoRandomString`
    gives 44^62 = 7.83 * 10^101 possible states.
    Gusted committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    2d3333a View commit details
    Browse the repository at this point in the history
  2. Fix last reference

    Gusted committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    dfcc61e View commit details
    Browse the repository at this point in the history
  3. Use 32 Bytes + prefix

    Gusted committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    fb66285 View commit details
    Browse the repository at this point in the history
  4. Use 34 bytes instead of 32

    Gusted committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    0c9321e View commit details
    Browse the repository at this point in the history
  5. Use base32

    Gusted committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    6eb83d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Merge branch 'main' into use-CryptoRandomBytes

    Gusted authored Jan 30, 2022
    Configuration menu
    Copy the full SHA
    cc51413 View commit details
    Browse the repository at this point in the history
  2. Use 32 bytes

    Gusted committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    65bc8ea View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Configuration menu
    Copy the full SHA
    fed3d06 View commit details
    Browse the repository at this point in the history
  2. Adjust tests

    Gusted committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    1b5410e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. fix

    6543 committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ce00d90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20833e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d10a76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01e8359 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb5343d View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    36e55eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6f98f2 View commit details
    Browse the repository at this point in the history