Generating NIST/Brainpool subkeys with GPGME

Jacob Adams tookmund at
Mon Jul 2 18:03:44 CEST 2018

On 07/02/2018 02:37 AM, Werner Koch wrote:
> On Fri, 29 Jun 2018 22:07, tookmund at said:
>> It appears that one cannot currently generate NIST or Brainpool subkeys
>> with GPGME. Using GPG itself works fine with --expert, so am I missing
>> an option or is this simply not possible yet?
> That is likely a bug.  > In contrast to the cv25519 and ed25519 curves this (and the NIST curves)
> don't have an implict algorithm.  Thus gpg tries to deduce this from the
> usage parameter but that seems not to work. 

Should I file a bug against GPGME? GPG? Not really sure where the
problem is here.

> What you hsould do is to
> make it explicit:
>   ./eccsubkeys brainpoolP384r1/ecdsa sign

Some testing confirms that I just need to add "/ecdsa" when creating a
signing or authentication key.

Thanks for your help!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Gnupg-users mailing list