diff --git a/src/gam/__init__.py b/src/gam/__init__.py index ae300928..5fb1b53c 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -1473,8 +1473,8 @@ def addDelegates(users, i): body={'delegateEmail': delegate}) -def gen_sha512_hash(password): - return sha512_crypt.hash(password, rounds=5000) +def gen_sha512_hash(password, rounds=10000): + return sha512_crypt.hash(password, rounds=rounds) def printShowDelegates(users, csvFormat): diff --git a/src/gam/var.py b/src/gam/var.py index a5ee7af3..2c977a6a 100644 --- a/src/gam/var.py +++ b/src/gam/var.py @@ -893,7 +893,6 @@ RT_TAG_REPLACE_PATTERN = re.compile(r'{(.*?)}') LOWERNUMERIC_CHARS = string.ascii_lowercase + string.digits ALPHANUMERIC_CHARS = LOWERNUMERIC_CHARS + string.ascii_uppercase URL_SAFE_CHARS = ALPHANUMERIC_CHARS + '-._~' -PASSWORD_SAFE_CHARS = ALPHANUMERIC_CHARS + string.punctuation + ' ' FILENAME_SAFE_CHARS = ALPHANUMERIC_CHARS + '-_.() ' FILTER_ADD_LABEL_TO_ARGUMENT_MAP = {