enigmail with pgp 2.2.4

Dmitry Gudkov bereska at hotmail.com
Thu Feb 22 15:21:53 CET 2018

Hi Werner,

yes, i am.

*I just manually compiled it on the fresh install of ubuntu 16.04 per
the below script:*

cd ~/Downloads
wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2
wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig
tar xf $version.tar.bz2
cd $version
sudo apt-get update
sudo apt-get install -y libldap2-dev
sudo apt-get install -y gtk+-2
sudo apt-get install -y rng-tools
sudo apt-get install -y libbz2-dev
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y libgmp-dev
sudo apt-get install -y nettle-dev
sudo apt-get install -y libgnutls28-dev
sudo apt-get install -y libsqlite3-dev
sudo apt-get install -y adns-tools
sudo apt-get install -y libreadline-dev
sudo apt-get install -y qtbase5-dev
sudo apt-get install -y pinentry-gtk2
sudo apt-get install -y pcscd scdaemon
sudo make -f build-aux/speedo.mk INSTALL_PREFIX=/usr/local
speedo_pkg_gnupg_configure='--enable-g13 --enable-wks-tools' native
sudo ldconfig

# use nano to create a configuration file: nano ~/.gnupg/gpg-agent.conf
# add the line: pinentry-program /usr/bin/pinentry-gtk-2
# chmod 600 ~/.gnupg/gpg-agent.conf

*the result is the following:*

bereska at bereska-VPCZ21AGX:~/.gnupg$ gpg --version
gpg (GnuPG) 2.2.4
libgcrypt 1.8.2
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/bereska/.gnupg
Supported algorithms:
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

*then I imported my existing keys for the other machine*

*and all works fine in terminal*

however after installing Enigmail I get this error when I try to attach
my public key to the message

thank you for your time to this matter


On 22.02.2018 16:19, Werner Koch wrote:
> Hi!
> On Thu, 22 Feb 2018 11:04, bereska at hotmail.com said:
>> gpg: skipped packet of type 12 in keybox
> Are you sure this if gpg 2.2.4 ?  The error looks more like this is a
> gpg version < 2.1.20.
> Type 12 are ring trust packets which are used internally by gpg.  The
> code which shows this error is 
>       /* Filter allowed packets.  */
>       switch (pkt->pkttype)
>         {
>         case PKT_PUBLIC_KEY:
>         case PKT_PUBLIC_SUBKEY:
>         case PKT_SECRET_KEY:
>         case PKT_SECRET_SUBKEY:
>         case PKT_USER_ID:
>         case PKT_ATTRIBUTE:
>         case PKT_SIGNATURE:
> ===>    case PKT_RING_TRUST:
>           break; /* Allowed per RFC.  */
>         default:
>           /* Note that can't allow ring trust packets here and some of
>              the other GPG specific packets don't make sense either.  */
>           log_error ("skipped packet of type %d in keybox\n",
>                      (int)pkt->pkttype);
>           free_packet(pkt, &parsectx);
>           init_packet(pkt);
>           continue;
>         }
> Thus a ring trust packet can't show this error.  Note that the comment
> in the default case is misleading.
> Shalom-Salam,
>    Werner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180222/c13b2642/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180222/c13b2642/attachment.sig>

More information about the Gnupg-users mailing list