aports/community/pass/fix-password-generation.patch
2020-07-21 15:56:09 -03:00

17 lines
787 B
Diff

Upstream: https://git.zx2c4.com/password-store/commit/?id=c22cdbd4674a25dec71fe42ec1ef0b4829b6c7f3
Reason: See the commit for explanation
diff --git a/src/password-store.sh b/src/password-store.sh
index b99460c..1d119f2 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -17,7 +17,7 @@ EXTENSIONS="${PASSWORD_STORE_EXTENSIONS_DIR:-$PREFIX/.extensions}"
X_SELECTION="${PASSWORD_STORE_X_SELECTION:-clipboard}"
CLIP_TIME="${PASSWORD_STORE_CLIP_TIME:-45}"
GENERATED_LENGTH="${PASSWORD_STORE_GENERATED_LENGTH:-25}"
-CHARACTER_SET="${PASSWORD_STORE_CHARACTER_SET:-[:graph:]}"
+CHARACTER_SET="${PASSWORD_STORE_CHARACTER_SET:-[:punct:][:alnum:]}"
CHARACTER_SET_NO_SYMBOLS="${PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS:-[:alnum:]}"
export GIT_CEILING_DIRECTORIES="$PREFIX/.."