GPG-Agent / Enigmail stopped working after upgrade to Ubuntu 15.10

T32ET

Good day everyone,

I just upgraded to Ubuntu 15.10 using the Software Updater. After reboot I realized that Enigmail (Version 1.2.8.) in Thunderbird (Version 38.3.0) stopped working. I am unable to sign or encrypt mails.

When Enigmail uses gpg (GnuPG) 1.4.18 the following error window appears immediately after pressing the Send button:

Send operation aborted.
Error - bad passphrase

I never even got the dialog to enter the passphrase. For testing I installed gpg (GnuPG) 2.0.28, reinstalled Enigmail and configured it to use gpg2. When adjusting the settings in Preferences -> Basic Settings the following error appeared:

Cannot connect to gpg-agent.
Maybe your system uses a specialized tool for passphrase handling
(e.g. gnome-keyring, seahorse-agent, KDE wallet manager, ...).
Unfortunately Enigmail cannot control the passphrase timeout for the tool you are using.
Therefore the respective timeout settings in Enigmail are disregarded.

When trying to send a signed or encrypted mail using gpg2 I get a different error message:

Send operation aborted.
Key 0xXXXXXXXX not found or not valid.
The (sub-)key might have expired

That is simply not true. The keys are present and they have not expired. Curiously, the Enigmail key manager does display the keys correctly.

The underlying problem seems to be with gpg-agent (gpg-agent (GnuPG) 2.0.28). Checking if the agent is running:

> ps ax | grep gpg
6971 ?        Ss     0:00 gpg-agent --daemon

Trying to connect:

> gpg-agent
gpg-agent: can't connect to the agent: IPC connect call failed

> sudo gpg-agent
gpg-agent: no gpg-agent running in this session

Trying to sign a file:

> gpg -s test.txt
[user and key info]
can't connect to `/tmp/gpg-GBtHXS/S.gpg-agent': No such file or directory
gpg: can't connect to `/tmp/gpg-GBtHXS/S.gpg-agent': connect failed

TL;DR;

Apparently gpg-agent is not working anymore. My Questions are:

  • Why is gpg-agent not working anymore?
  • How can this be fixed?

Thanks everyone for your time and insight.

Software versions summary:

  • gpg (GnuPG) 1.4.18
  • gpg (GnuPG) 2.0.28
  • gpg-agent (GnuPG) 2.0.28
  • Enigmail 1.2.8.
  • Thunderbird 38.3.0
  • Ubuntu 15.10 wily werewolf
MiscBits

I had a similar problem and solved it by installing pinentry-gnome3 (I'm using Gnome Shell, not Unity):

sudo apt-get install pinentry-gnome3

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

GPG-Agent / Enigmail stopped working after upgrade to Ubuntu 15.10

From Dev

VirtualBox stopped working after Win 10 upgrade

From Dev

Apache (Ubuntu) Virtual host stopped working after upgrade->restart

From Dev

SQLite stopped working after upgrade

From Dev

ssh agent forwarding not working after ubuntu 20.04 upgrade

From Dev

Enigmail cannot communicate with gpg-agent

From Dev

"try!" macro stopped working after Rust upgrade

From Dev

GRUB Customizer stopped working after kernel upgrade

From Dev

Clipboard in nomachine stopped working after upgrade to 5.1.62

From Dev

Cacti stopped working after upgrade to Stretch

From Dev

Webmin stopped working after upgrade to Stretch

From Dev

Rabbit VCS stopped working after upgrade to 11.10

From Dev

Bluetooth stopped working after upgrade to fedora 32

From Dev

Printer stopped working after upgrade 16.04 to 18.04

From Dev

DNS resolver stopped working after upgrade to 20.04

From Dev

After Win10 upgrade Ubuntu graphics not working in VM

From Dev

gpg-agent mysteriously stopped working - agent on remote system no longer connecting to ssh socket

From Dev

Alt-Key stopped working in gnome-terminal after upgrade to Ubuntu 19.04

From Dev

xdebug not working after ubuntu upgrade

From Dev

Inkscape stopped working after mate replaced Ubuntu

From Java

Spring Boot - Validations stopped working after upgrade from 2.2.5 to 2.3.0

From Dev

gem install stopped working after upgrade to OS X 10.10 Yosemite

From Dev

VirtualBox 64 bit guest VM stopped working after upgrade

From Dev

L2TP/IPSec stopped working after openssl upgrade

From Dev

gem install stopped working after upgrade to OS X 10.10 Yosemite

From Dev

docker-ce: proxy password stopped working after upgrade

From Dev

Splash screens and icons stopped working after plugin upgrade

From Dev

CD/DVD not working after upgrade to Windows 10

From Dev

rename stopped working after upgrading from Ubuntu 17.04 to Ubuntu 17.10

Related Related

  1. 1

    GPG-Agent / Enigmail stopped working after upgrade to Ubuntu 15.10

  2. 2

    VirtualBox stopped working after Win 10 upgrade

  3. 3

    Apache (Ubuntu) Virtual host stopped working after upgrade->restart

  4. 4

    SQLite stopped working after upgrade

  5. 5

    ssh agent forwarding not working after ubuntu 20.04 upgrade

  6. 6

    Enigmail cannot communicate with gpg-agent

  7. 7

    "try!" macro stopped working after Rust upgrade

  8. 8

    GRUB Customizer stopped working after kernel upgrade

  9. 9

    Clipboard in nomachine stopped working after upgrade to 5.1.62

  10. 10

    Cacti stopped working after upgrade to Stretch

  11. 11

    Webmin stopped working after upgrade to Stretch

  12. 12

    Rabbit VCS stopped working after upgrade to 11.10

  13. 13

    Bluetooth stopped working after upgrade to fedora 32

  14. 14

    Printer stopped working after upgrade 16.04 to 18.04

  15. 15

    DNS resolver stopped working after upgrade to 20.04

  16. 16

    After Win10 upgrade Ubuntu graphics not working in VM

  17. 17

    gpg-agent mysteriously stopped working - agent on remote system no longer connecting to ssh socket

  18. 18

    Alt-Key stopped working in gnome-terminal after upgrade to Ubuntu 19.04

  19. 19

    xdebug not working after ubuntu upgrade

  20. 20

    Inkscape stopped working after mate replaced Ubuntu

  21. 21

    Spring Boot - Validations stopped working after upgrade from 2.2.5 to 2.3.0

  22. 22

    gem install stopped working after upgrade to OS X 10.10 Yosemite

  23. 23

    VirtualBox 64 bit guest VM stopped working after upgrade

  24. 24

    L2TP/IPSec stopped working after openssl upgrade

  25. 25

    gem install stopped working after upgrade to OS X 10.10 Yosemite

  26. 26

    docker-ce: proxy password stopped working after upgrade

  27. 27

    Splash screens and icons stopped working after plugin upgrade

  28. 28

    CD/DVD not working after upgrade to Windows 10

  29. 29

    rename stopped working after upgrading from Ubuntu 17.04 to Ubuntu 17.10

HotTag

Archive