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 a271b43cbd76cc30406202c49041b552656538bd
parent ff5ac38f7984d7b3d2912dba106baa2fed52e530
Author: Richard Towers <richard.towers@digital.cabinet-office.gov.uk>
Date:   Fri, 11 Jun 2021 18:39:11 +0200

Strip comments in gpg-id files

Diffstat:
Msrc/password-store.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/password-store.sh b/src/password-store.sh @@ -100,6 +100,8 @@ set_gpg_recipients() { local gpg_id while read -r gpg_id; do + gpg_id="${gpg_id%%#*}" # strip comment + [[ -n $gpg_id ]] || continue GPG_RECIPIENT_ARGS+=( "-r" "$gpg_id" ) GPG_RECIPIENTS+=( "$gpg_id" ) done < "$current"