OpenPGP card issues

David Robertson djpeterrobertson at gmail.com
Fri Sep 9 00:14:24 CEST 2011


I don't have a ~/.gnupg/gpg-agent.conf and starting gpg-agent with
--use-standard-socket doesn't work:

david at david-desktop-debian:/$ gpg-agent --use-standard-socket
gpg-agent[4092]: can't connect to `/tmp/gpg-ZGPhgS/S.gpg-agent': No such
file or directory
gpg-agent[4092]: can't connect to `/home/david/.gnupg/S.gpg-agent': No such
file or directory
gpg-agent: can't connect to the agent: IPC connect call failed
david at david-desktop-debian:/$ sudo su
[sudo] password for david:
root at david-desktop-debian:/# gpg-agent --use-standard-socket
gpg-agent[4104]: can't connect to `/root/.gnupg/S.gpg-agent': No such file
or directory
gpg-agent: no gpg-agent running in this session

I've completely removed seahorse and that's done nothing either, so I've
reinstalled it for now. Also it seemed originally I only couldn't connect to
gpg-agent when I had SUed to root, now I seem to get this:

david at david-desktop-debian:/$ gpg2 --card-status
can't connect to `/tmp/gpg-ZGPhgS/S.gpg-agent': No such file or directory
gpg: can't connect to the agent - trying fall back
can't connect to `/home/david/.gnupg/S.gpg-agent': No such file or directory
scdaemon[4301]: PC/SC OPEN failed: comm error
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error
david at david-desktop-debian:/$ scdaemon[4301]: scdaemon (GnuPG) 2.0.14
stopped



--
Thanks,
David Robertson.

djpeterrobertson at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20110908/f7009bf4/attachment-0001.htm>


More information about the Gnupg-users mailing list