aboutsummaryrefslogtreecommitdiffstats
path: root/community/pass/fix-password-generation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/pass/fix-password-generation.patch')
-rw-r--r--community/pass/fix-password-generation.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/pass/fix-password-generation.patch b/community/pass/fix-password-generation.patch
new file mode 100644
index 0000000000..53abcebf77
--- /dev/null
+++ b/community/pass/fix-password-generation.patch
@@ -0,0 +1,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/.."