Curve 25519 encryption subkey - problem encrypting

MFPA 2014-667rhzu3dc-lists-groups at riseup.net
Sat Jun 4 12:10:25 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



I recently created a new Curve 25519 encryption subkey. One of the
other PGPNET members tells me GnuPG 2.1.12 reports the subkey size as
0 and will not encrypt to this subkey,instead giving the error:-

gpg: pubkey_encrypt failed: Provided object is too short
gpg: test: encryption failed: Provided object is too short

I get that error using GnuPG 2.1.11 but not 2.1.12 (and I do not see a
key size for an ECC key in my key listing).

Any ideas why he cannot encrypt to this Curve 25519 encryption subkey?
(Subkey 0xA11C7EE5DA49DC12 on main key 0x251BCCEB547B7194)


He is running OpenSUSE 13.2, which does not provide GnuPG 2.1 in their
standard repos so he installed it from an alternative repo [0]. This
install also replaces a number of related packages to resolve
dependencies.

He has provided the following information about the GnuPG and
Libgcrypt packages he has installed:-

Information for package gpg2:
- -----------------------------
Repository: openSUSE-13.2-Security-Privacy
Name: gpg2
Version: 2.1.12-164.1
Arch: i586
Vendor: obs://build.opensuse.org/security:privacy
Installed: Yes
Status: up-to-date
Installed Size: 5.5 MiB
Summary: GnuPG 2
Description:
  GnuPG 2 is the successor of "GnuPG" or GPG. It provides: GPGSM,
  gpg-agent, and a keybox library.


And since Ben mentioned libgcrypt:

Information for package libgcrypt20:
- ------------------------------------
Repository: openSUSE-13.2-Security-Privacy
Name: libgcrypt20
Version: 1.6.5-112.1
Arch: i586
Vendor: obs://build.opensuse.org/security:privacy
Installed: Yes
Status: up-to-date
Installed Size: 757.8 KiB
Summary: The GNU Crypto Library
Description:
  Libgcrypt is a general purpose crypto library based on the code used
  in GnuPG (alpha version).




[0] <http://ftp.rrzn.uni-hannover.de/pub/mirror/linux/opensuse/repositories/security:/privacy/openSUSE_13.2/i586/>


- --
Best regards

MFPA                  <mailto:2014-667rhzu3dc-lists-groups at riseup.net>

All generalisations are dangerous, even this one.
-----BEGIN PGP SIGNATURE-----

iQF8BAEBCgBmBQJXUqkRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCM0FFN0VDQTlBOEM4QjMwMjZBNUEwRjU2
QjdDNzRDRUIzMUYyNUYwAAoJEGt8dM6zHyXw4tQIAJwGjGtjqRjQBSCwAkWOeqtb
cOlnkG6CQKgKqjozpbRQjtX69kpAHy3hej5Pd3UvWPrQI9adBb9+Pmqtp/Q7zHu3
41wjUCGA+1YxeVCWCTU7hCq28LFmeSjfa6eZWFCN1mN2WICbFA3lyOsaLyiyYLBy
yf8Aznh4mOrp0Ug06k6h/eSAD5TDR11E+XneQRC4S4GYG5U4sCLZ5raQSI351doR
HnbMmqwDiC+VJOh0BpEhQ68JNTLtr0D2PYiYtW3GBZEwIfcKeDIXWAmwOYgn4dmy
g3VolEKi8i3a58d8z/HEqdU4evnzMh7ETexDqLpxCOjHLC33gXaLS7mZxVBzey+I
vgQBFgoAZgUCV1KpEV8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNBQ0VENEVFOTEzNEVFQkRFNkE4NTA2MTcx
MkJDNDYxQUY3NzhFNAAKCRAXErxGGvd45F7xAQCdtjGUsu6hyLaxntsi8paaD+Kg
/qEFGFIbp706VcDM0wEAiSa37vIem4TELYYcMwVGa/xaFfgRIatTWI2n9glcUg8=
=G6D/
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list