[Bug 684902] Re: gnupg-agent not running properly

James Wilde 684902 at bugs.launchpad.net
Wed Jun 3 08:54:33 UTC 2015


Bashar's solution did not work for me.  I'm running 14-04.

I did the chmod (needed sudo in front, of course).
I had a gpg.conf file which did not have the 'use-agent' line so I added it first after the introductory blurb.
Rebooted and checked that gpg-agent was running with ps -ef | grep gpg-agent.
Ran echo $GPG-AGENT-INFO but got another line than the one in Bashar's post:
/run/user/1000/keyring-UzXp2m/gpg:0:1
There is a directory /tmp/gpg-aE7ygt which contains the following file:
srwxrwxr-x 1 james james 0 jun  3 10:35 S.gpg-agent
Any attempt to read the file comes up with S.gpg-agent: No such device or address
Kleopatra still barfs at the Gpg-Agent Connectivity test.

Would be really nice to get this working as I'm trying to get people I
know to use gpg encryption.

-- 
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/684902

Title:
  gnupg-agent not running properly

Status in Unofficial Package Updates for Kubuntu:
  New
Status in gnupg2 package in Ubuntu:
  Confirmed

Bug description:
  HI there

  I just upgraded from Maverick KDE 4.5.3 and I have a problem signing
  outgoing emails in KMail. When trying to sign outgoing email I get
  this generic error "Signing failed: General error".

  I then tried to pinpoint down the issue and started Kleopatra. It
  reports the following error:

  "Check that gpg-agent is running and that the GPG_AGENT_INFO variable
  is set up-to-date"

  I then purged the gnupga-agent package (sudo apt-get purge gnupg-
  agent) and reinstalled it and kleopatra. The same problems appears.

  In the ~/.gnupg folder I found various gnugp-agnet files. The gpg-
  agent.conf did not mention the above variable but the gpg-agent-info-
  HOSTNAME file does. For me it contains currently:

  "GPG_AGENT_INFO=/tmp/gpg-L8LKin/S.gpg-agent:1687:1"

  I don't know what that should be changed to.

  Also when I try to run gpg-agent from the cli I get this error:

  "gpg-agent[4794]: can't connect to `/home/hyper/.gnupg/S.gpg-agent':
  No such file or directory"


  
  Qt: 4.7.0
  KDE Development Platform: 4.5.80 (4.6 Beta1)
  KMail: 1.13.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/kubuntu-ppa/+bug/684902/+subscriptions



More information about the foundations-bugs mailing list