gpg-agent stops working after OSX Upgrade to Yosemite
Closed, ResolvedPublic

Description

From http://support.gpgtools.org/discussions/problems/28634-gpg-agent-stops-working-
after-osx-upgrade-to-yosemite:

Situation: I'm using the gpg-tools on OSX for yubikey-ssh-authentification. After
Upgrade to OSX 10.10 Yosemite, gpg-agent seems to stop working after some time.

Setup:
Installed latest gpg-tools from this website.
Added "enable-ssh-support" to .gnupg/gpg-agent.conf and restarted mac
export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
Connect to an ssh-server.

Problem:
After some time (~1-2 Hours maybe, not sure), the agent isn't working anymore. It's
still listed as active in the processlist, but everything related to my yubikey fails
(no error, just nothing happens, no segfaults).
Connecting to a ssh-server results in nothing, as well as gpg --card-status

Patch: https://github.com/GPGTools/MacGPG2/blob/dev/Formula/Patches/gnupg2/pcsc-
wrapper.patch

Details

Version
2.0.27

Related Objects

ahin set Version to 2.0.27.May 4 2015, 1:21 PM
werner added a subscriber: werner.May 6 2015, 9:37 AM

The patch is a work for problem somewhere in the PC/SC implementaion. I am also
not sure whether a pthread_cancel for a buggy PC/SC library is a good idea.
Terminating the process seems to be a better solution.

If gpgtools wants to apply this pacth, they might of course do so but I don't
want to apply it upstream in particular not to an older version (2.1 is current).

werner closed this task as Resolved.Sep 8 2015, 3:00 PM
werner claimed this task.