Add swift_hash_path to pw-token-gen.py
* Set swift_hash_path vars to be setup as keys * Allows these vars to be auto generated Fixes #611
This commit is contained in:
parent
757b4701ea
commit
3a08d86dc2
@ -170,6 +170,9 @@ def main():
|
|||||||
elif entry.endswith('key'):
|
elif entry.endswith('key'):
|
||||||
changed = True
|
changed = True
|
||||||
user_vars[entry] = generator.generator(pw_type='key')
|
user_vars[entry] = generator.generator(pw_type='key')
|
||||||
|
elif entry.startswith('swift_hash_path'):
|
||||||
|
changed = True
|
||||||
|
user_vars[entry] = generator.generator(pw_type='key')
|
||||||
|
|
||||||
# If changed is set to True, this will archive the old passwords
|
# If changed is set to True, this will archive the old passwords
|
||||||
if changed is True:
|
if changed is True:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user