mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
keep salting generated tokens
all the savings are in rounds, but keep salt because it still prevents the ability to hash a token once and check it against the whole db
This commit is contained in:
@@ -243,7 +243,7 @@ class Hashed(object):
|
||||
# values to use for internally generated tokens,
|
||||
# which have good entropy as UUIDs
|
||||
generated = True
|
||||
generated_salt_bytes = b''
|
||||
generated_salt_bytes = 8
|
||||
generated_rounds = 1
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user