These should help out: http://git.zx2c4.com/password-store/commit/?id=67abc395d981b9b4a5f71fc00a8807195e2865e3
On Wed, Apr 23, 2014 at 4:47 AM, Jason A. Donenfeld <[email protected]> wrote: > 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
