all repos — pw @ f4ab00e5ac6fc80bc9a3d852ec521f1f208dbf42

minimal password store

Generate armored output
Anirudh Oppiliappan x@icyphox.sh
Wed, 09 Dec 2020 12:47:03 +0530
commit

f4ab00e5ac6fc80bc9a3d852ec521f1f208dbf42

parent

56ad0e841f177e2587b2fc3b45a35ebc6c9ee0ac

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M pwpw

@@ -34,7 +34,7 @@ pass="$(pwgen "${PW_LEN:-25}" 1 -s)"

printf "pw: generated password for %s\n" "$1" fi if [[ ! -f "$PW_DIR/$1.gpg" ]]; then - printf "%s" "$pass" | "$gpg "-er "$PW_KEY" -o "$PW_DIR/$1.gpg" + printf "%s" "$pass" | "$gpg" -aer "$PW_KEY" -o "$PW_DIR/$1.gpg" printf "pw: %s/%s.gpg created\n" "$PW_DIR" "$1" else die "the file %s/%s.gpg exists" "$PW_DIR" "$1"