commit 2d8db959df1ff05dff21a6c65c381d7759fec039
parent ba7a47930eff33d346724a6b7664fda80d8ed49b
Author: St John Karp <contact@stjo.hn>
Date: Wed, 23 Nov 2022 13:56:28 -0500
Remove bogus character from tr string
Some bogus curly apostrophe snuck into the string of characters
passed to tr, which could cause undesirable non-printing sequences
in the generated passwords. I removed it, and the dash character
which has an interpreted meaning to tr.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/balrog b/balrog
@@ -8,7 +8,7 @@ OTP=0
LENGTH=32
INPLACE=0
# Specify valid characters the long way because character classes are locale-dependent.
-CHARACTERS='a-zA-Z0-9!"#$%&'\''()*+,-./:;<=>?@[]^_‘{|}~\\'
+CHARACTERS='a-zA-Z0-9!"#$%&'\''()*+,./:;<=>?@[]^_{|}~\\'
TMP_FILE="$HOME/.balrogtmp"
# Identify the system's clipboard utility.