sekrit: increase default length to 44
This makes all the default passwords valid Base64 yielding 264 bits of entropy.
This commit is contained in:
parent
19049d2472
commit
6b2c9dac0c
@ -89,7 +89,7 @@ If
|
|||||||
is provided, the randomly generated sequence will be
|
is provided, the randomly generated sequence will be
|
||||||
.Ar length
|
.Ar length
|
||||||
characters long.
|
characters long.
|
||||||
Defaults to 43.
|
Defaults to 44.
|
||||||
.It Nm Cm get Ar key
|
.It Nm Cm get Ar key
|
||||||
Decrypts the value associated with
|
Decrypts the value associated with
|
||||||
.Ar key
|
.Ar key
|
||||||
|
@ -116,7 +116,7 @@ sekrit_cp()
|
|||||||
sekrit_gen()
|
sekrit_gen()
|
||||||
{
|
{
|
||||||
OPTIND=1
|
OPTIND=1
|
||||||
len=43
|
len=44
|
||||||
while getopts l: flag; do
|
while getopts l: flag; do
|
||||||
case "$flag" in
|
case "$flag" in
|
||||||
l) len=$(to_number "$OPTARG") ||
|
l) len=$(to_number "$OPTARG") ||
|
||||||
|
Loading…
Reference in New Issue
Block a user