password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 1476be164b8eadb258301015b6fd21dcb64118c0
parent 6fb1b95c6357a23a855cfb26f09c836df55f8dd6
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Sun, 23 Mar 2014 05:57:39 -0300

umask: allow overridable

Suggested-by: Matthew Richardson <m.richardson@ed.ac.uk>

Diffstat:
Mman/pass.1 | 3+++
Msrc/password-store.sh | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/man/pass.1 b/man/pass.1 @@ -359,6 +359,9 @@ for more info. Specifies the number of seconds to wait before restoring the clipboard, by default \fI45\fP seconds. .TP +.I PASSWORD_STORE_UMASK +Sets the umask of all files modified by pass, by default \fI077\fP. +.TP .I EDITOR The location of the text editor used by \fBedit\fP. .SH SEE ALSO diff --git a/src/password-store.sh b/src/password-store.sh @@ -3,7 +3,7 @@ # Copyright (C) 2012 - 2014 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. # This file is licensed under the GPLv2+. Please see COPYING for more information. -umask 077 +umask "${PASSWORD_STORE_UMASK:-077}" GPG_OPTS="--quiet --yes --compress-algo=none" GPG="gpg"