Key-Grip unknown in --gen-key --batch

Damien Goutte-Gattat dgouttegattat at
Mon Oct 10 14:09:03 CEST 2016

On 10/10/2016 12:04 PM, Meno Abels wrote:
> <>
> i tried to sign a csr with it and the command Key-Grip is missing some how.
> In g10/keygen.c there is no equivalent command what can i do?

To manipulate X.509 certificates (and related concepts such as CSRs), 
you should use the gpgsm program instead of gpg2. gpg2 is for OpenPGP 
material, gpgsm is for X.509/SMIME.

The Key-Grip keyword is recognized by gpgsm (see sm/certreqgen.c).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20161010/2d516d9c/attachment.sig>

More information about the Gnupg-users mailing list