smart card under linux

Philip Jackson philip.jackson at nordnet.fr
Tue Oct 21 14:50:24 CEST 2014


On 21/10/14 09:25, Pete Stephenson wrote:
> 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

echo $GPG_AGENT_INFO
/tmp/gpg-9S6s3F/S.gpg-agent:1611:1

Philip




More information about the Gnupg-users mailing list