mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Corrected typo causing maximum password length to be 800, rather than 840
This commit is contained in:
@@ -89,7 +89,7 @@ def pass_gen():
|
|||||||
return __gen
|
return __gen
|
||||||
_length = int(input('How many characters should be in the password? '))
|
_length = int(input('How many characters should be in the password? '))
|
||||||
if _length > 840:
|
if _length > 840:
|
||||||
_length = 800
|
_length = 840
|
||||||
print('\n\u001b[38;5;208mPassword length has been limited to the maximum of 840 characters.\u001b[0m\n')
|
print('\n\u001b[38;5;208mPassword length has been limited to the maximum of 840 characters.\u001b[0m\n')
|
||||||
_complexity = str(input('Should the password be simple (for compatibility) or complex (for security)? (s/C) '))
|
_complexity = str(input('Should the password be simple (for compatibility) or complex (for security)? (s/C) '))
|
||||||
_gen = _pass_gen_function(_complexity, _length)
|
_gen = _pass_gen_function(_complexity, _length)
|
||||||
|
|||||||
Reference in New Issue
Block a user