Tools such as gpg-preset-passphrase
require the 40 character keygrip. The manpage of gpg-preset-passphrase(1) suggest that this is best extracted from gpgsm and that works nicely gpgsm --dump-secret-key | grep keygrip: keygrip: 1234567890123456789012345678901234567890 however a 'nice to parse' version of that: gpgsm --dump-secret-key --with-colons does not seem to emit the keygrip. Any way of rectifying that - or another place to get the keygrip in a robust parsable format ? Dw. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users