[Bug 1677903] Re: unable to send encrypted message with state-of-the-art OpenPGP keys

m.eik michalke 1677903 at bugs.launchpad.net
Fri Mar 31 22:26:59 UTC 2017


on a second thought, please don't actually send mails.

it is sufficient to just import the key in question and try to encrypt a
file with it:

  gpg2 --recv-keys F2AD85AC1E42B367
  touch /tmp/test.txt
  gpg2 --recipient F2AD85AC1E42B367 --encrypt /tmp/test.txt

on xenial, you'll see an error that the "object is too short", but if
you use any older key from your keyring it will simpley encrypt the
file.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1677903

Title:
  unable to send encrypted message with state-of-the-art OpenPGP keys

Status in gnupg2 package in Ubuntu:
  New

Bug description:
  with the gnupg2 version 2.1.11-6ubuntu2 shipped with ubuntu 16.04 it
  is impossible to send an encrypted email to people using up-to-date
  ECC algorithms in their OpenPGP key. newer encryption algorithms
  *should* be omitted by older gnupg2 versions in favor of supported
  alternatives, but in fact they are not. this might be caused by the
  accompanying version of libgcrypt20 assuming it can support the
  algorithm, but then the too old gnupg2 version cannot. in the end, all
  you get is a very meaningless error that "an error occurred".

  to reproduce the problem, install ubuntu xenial and try to send an
  encrypted message to the very author of GnuPG (OpenPGP key ID
  0xF2AD85AC1E42B367). good luck with that.

  please upgrade gnupg2 to a more recent version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1677903/+subscriptions



More information about the foundations-bugs mailing list