comparison cutils/genpwd.py @ 245:35c06dcca856

genpwd: make the default "safe-ascii"
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 08 Feb 2025 10:53:56 +0100
parents 42f7ecd70ec1
children c29266444003
comparison
equal deleted inserted replaced
244:42f7ecd70ec1 245:35c06dcca856
72 "--repertoire", "--type", "-t", 72 "--repertoire", "--type", "-t",
73 choices=("web", "safe-web", "safe-web-2", "ascii", "safe-ascii", 73 choices=("web", "safe-web", "safe-web-2", "ascii", "safe-ascii",
74 "alnum", "safe-alnum", 74 "alnum", "safe-alnum",
75 "bin-base64", "bin-urlsafe-base64", "bin-base32", 75 "bin-base64", "bin-urlsafe-base64", "bin-base32",
76 "bin-ascii85", "bin-hex", ), 76 "bin-ascii85", "bin-hex", ),
77 default="safe-web-2", 77 default="safe-ascii",
78 help=""" 78 help="""
79 Select from a character repertoire. 79 Select from a character repertoire.
80 All repertoires that start with "bin-" just encode the output of 80 All repertoires that start with "bin-" just encode the output of
81 "os.urandom()" with the selected encoder. 81 "os.urandom()" with the selected encoder.
82 Default: web-safe2 82 Default: web-safe2