smart card under linux

Pete Stephenson pete at heypete.com
Tue Oct 21 09:25:44 CEST 2014


On Tue, Oct 21, 2014 at 12:36 AM, Philip Jackson
<philip.jackson at nordnet.fr> wrote:
[snip]
> This looks promising but I didn't take it any further because I want to get it
> going under my UbuntuStudio 1404 linux. Using gnupg2 2.0.26.
>
> Trying to use the GnuPG driver to access CCID cards, "gpg2 --card-status" yields
> the following output :
>
> gpg: selecting openpgp failed: Card error
> gpg: OpenPGP card not available: Card error
>
>
> I've followed, I believe, all the instructions in the gnupg.com smartcard howto.
>  In para 2.3.1 CCID : I've tried both the instructions under 'with udev
> (preferred installation)' and further down 'with hotplug (deprecated in modern
> systems)'
>
> In the /etc/udev/rules.d/ directory there is a README which says that symbolic
> links should not be used in Ubuntu (unlike Debian) so I placed a copy of
> gnupg-ccid.rules directly in that directory.  But that didn't help.
>
> lsusb shows that the SCM card reader is recognised and present but gpg doesn't
> seem to be able to make contact.
>
> I'd appreciate any ideas for what to try next.

What is the result of running the command:

echo $GPG_AGENT_INFO

Cheers!
-Pete

-- 
Pete Stephenson



More information about the Gnupg-users mailing list