Thunderbird Enigmail cannot see GPG agent in Gnome Keyring

Bug #1243169 reported by Jean-Pierre Rupp
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since upgrading to Ubuntu 13.10, the Gnome Keyring GPG agent is not visible from Thunderbird when launched via Unity's messaging menu. The variable GPG_AGENT_INFO is not in Thunderbird's environment. Terminals opened from the Unity Launcher do have GPG_AGENT_INFO, and when Thunderbird is launched from within a terminal it does have access to the agent. I am not sure that this is a bug in Gnome Keyring, but it seems to be the best place to put it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-keyring (Ubuntu):
status: New → Confirmed
Revision history for this message
tobyS (tobias-schlitt) wrote :

Is there any hint on this issue? It's really annoying. :/

Revision history for this message
Wetware Random Number Generator (tnrng) wrote :

I had the same issue and this workaround worked for me:

sudo tee /usr/local/bin/thunderbird << EOF
#!/bin/bash
[[ "\${GPG_AGENT_INFO}" =~ ^"\${GNOME_KEYRING_CONTROL}" ]] || export GPG_AGENT_INFO="\${GNOME_KEYRING_CONTROL}/gpg:0:1"
exec /usr/bin/thunderbird "\$@"
EOF
sudo chmod 0755 /usr/local/bin/thunderbird

Revision history for this message
Wetware Random Number Generator (tnrng) wrote :

Attaching the script generated by comment #3

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.