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

Increase token length from 128 bits to 512 bits #1723

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

williamjallen
Copy link
Collaborator

Authentication tokens currently only contain 128 bits of entropy. This PR increases the entropy to 512 bits, which is the maximum value we can use without changing the hashing algorithm. If we limit the available character set to the 62 upper- and lower-case alphanumeric characters, 86 characters are necessary to exceed 512 bits of entropy, assuming my calculations are correct.

@josephsnyder josephsnyder added this pull request to the merge queue Sep 28, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 28, 2023
@williamjallen williamjallen added this pull request to the merge queue Sep 28, 2023
Merged via the queue into Kitware:master with commit a9bb192 Sep 28, 2023
2 checks passed
@williamjallen williamjallen deleted the token-length branch September 28, 2023 16:03
zackgalbreath pushed a commit that referenced this pull request Nov 6, 2023
Authentication tokens currently only contain 128 bits of entropy. This
PR increases the entropy to 512 bits, which is the maximum value we can
use without changing the hashing algorithm. If we limit the available
character set to the 62 upper- and lower-case alphanumeric characters,
86 characters are necessary to exceed 512 bits of entropy, assuming my
calculations are correct.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants