At some point you're going to want to resolve the keys of a .gpg file or of a key-id-name. Be sure to study the tricks used in reencrypt_path:
http://git.zx2c4.com/password-store/tree/src/password-store.sh#n87 Resolve ids from .gpg files: gpg -v --list-only --keyid-format long "$passfile" 2>&1 | cut -d ' ' -f 5 | sort -u Resolve ids from key names: gpg --list-keys --keyid-format long "${GPG_RECIPIENTS[@]}" | sed -n 's/sub *.*\/\([A-F0-9]\{16\}\) .*/\1/p' | sort -u Resolve ids from gpg.conf group: gpg --list-config --with-colons | grep ^cfg:group:.*
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
