Include digits by default.

This commit is contained in:
voussoir 2022-03-10 11:18:21 -08:00
parent 9530d0383a
commit 2a6bc2a306
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -80,12 +80,14 @@ def passwordy_argparse(args):
else:
if not any([args.letters, args.digits, args.hex, args.binary, args.punctuation]):
letters = True
digits = True
else:
letters = args.letters
digits = args.digits
password = make_password(
args.length,
binary=args.binary,
digits=args.digits,
digits=digits,
hex=args.hex,
letters=letters,
punctuation=args.punctuation,