Re: gpgsm, keygrip

2017-08-08 Thread Dirk-Willem van Gulik
> On 8 Aug 2017, at 13:48, Werner Koch wrote: > > On Sun, 30 Jul 2017 14:52, di...@webweaving.org said: > >> Replying to my own question — the man page of of gpg-preset-passphrase >> should perhaps suggest to use ‘gpg —with-keygrip ..’ or ‘gpg —with-colons >> ..’. > > Thanks for the suggest

Re: gpgsm, keygrip

2017-08-08 Thread Werner Koch
On Sun, 30 Jul 2017 14:52, di...@webweaving.org said: > Replying to my own question — the man page of of gpg-preset-passphrase > should perhaps suggest to use ‘gpg —with-keygrip ..’ or ‘gpg —with-colons ..’. Thanks for the suggestion. However there is a gug in gpgsm which does not print the ke

Re: gpgsm, keygrip

2017-07-30 Thread Dirk-Willem van Gulik
> On 30 Jul 2017, at 12:39, Dirk-Willem van Gulik wrote: > > 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-

gpgsm, keygrip

2017-07-30 Thread Dirk-Willem van Gulik
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: 123456789012345678901234567890123456789