From 6b2c9dac0cf4c4a8abaab5fd9003df6009f493ec Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 25 Nov 2023 10:49:40 +0000 Subject: [PATCH] sekrit: increase default length to 44 This makes all the default passwords valid Base64 yielding 264 bits of entropy. --- bin/sekrit.1 | 2 +- bin/sekrit.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sekrit.1 b/bin/sekrit.1 index eafdc67..cc8c326 100644 --- a/bin/sekrit.1 +++ b/bin/sekrit.1 @@ -89,7 +89,7 @@ If is provided, the randomly generated sequence will be .Ar length characters long. -Defaults to 43. +Defaults to 44. .It Nm Cm get Ar key Decrypts the value associated with .Ar key diff --git a/bin/sekrit.sh b/bin/sekrit.sh index afaf1f8..2789966 100644 --- a/bin/sekrit.sh +++ b/bin/sekrit.sh @@ -116,7 +116,7 @@ sekrit_cp() sekrit_gen() { OPTIND=1 - len=43 + len=44 while getopts l: flag; do case "$flag" in l) len=$(to_number "$OPTARG") ||