cv25519 subkey problems for some combinations (was: pubkey_encrypt failed: Provided object is too short (with 2.1.11 and Werner's new subkeys))

Bernhard Reiter bernhard at
Thu Feb 23 14:25:20 CET 2017

Am Freitag 06 Januar 2017 09:51:06 schrieb Bernhard Reiter:
> Am Freitag 06 Januar 2017 09:24:00 schrieb Bernhard Reiter:
> > Am Donnerstag 05 Januar 2017 20:02:57 schrieb Werner Koch:
> > > > With gnupg 2.1.11 libgcrypt 1.6.5 using
> >
> > I know that this combination is old and probably superceded by a better
> > one. (This is why I've pointed it out in two places of my post.)
> I've got a report that GnuPG 2.1.13 with libgcrypt 1.6.6 on Fedora 25
> also has this problem that it believes to have the ability to cope with
> the sub  cv25519 encryption key, but fails to compute the keygrip.
> Leading to an unspecific general error.

In addition the version for Ubuntu LTS/14.04 has the problem in a slightly 
different variant:

gpg: Ohhhh jeeee: can't encode a 256 bit key in a 0 bits frame

As this is with a stable production GNU/Linux distribution, maybe it makes 
sense to come up with a patch and report this to Ubuntu.

This I've created


--   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20170223/b31384d9/attachment.sig>

More information about the Gnupg-devel mailing list