Smartcard reader disconnects
NIIBE Yutaka
gniibe at fsij.org
Mon Sep 21 09:35:11 CEST 2015
Hello,
On 09/20/2015 05:07 AM, Miguel Barbosa Gonçalves wrote:
> Sometimes, after doing an operation, the smartcard reader apparently
> disconnects and I can only get it to work if I disconnect and
> reconnect it.
How do you conclude that "smartcard reader apparently disconnects"?
Did you see any error message or something?
> When it gets disconnected, if I try to access it, I get the following
>
> $ gpg --card-status
> gpg: selecting openpgp failed: ec=6.108
> gpg: OpenPGP card not available: general error
What's the output of "lsusb" when you encounter this? Do you still
see valid entry of your card reader?
> By the way, I am using Ubuntu 14.04 and everything works except for this.
When your 'gpg' is GnuPG 1.4.x and it's not configured using agent, it
is possible that there is gpg-agent and scdaemon running with your
card reader and GnuPG frontend of 'gpg' tries to access the card
reader directly and fails.
--
More information about the Gnupg-users
mailing list