aboutsummaryrefslogtreecommitdiffstats
path: root/community/pass/fix-password-generation.patch
blob: 53abcebf77de2ea9548a432712f9601067b6f08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/.."