OpenPGP card stopped working
Henry Bremridge
henry.bremridge at xobie.com
Wed Apr 23 13:54:32 CEST 2008
On Tue, Apr 22, 2008 at 10:07:41PM -0400, Micah Anderson wrote:
>
> I have an OmniKey CardMan 4040 and it was working fine for the last two
> months that I've had the OpenPGP card. Suddenly, it seems to think there
> is no card present. I never needed pcscd running as I could just use the
> internal driver (I just needed libpcsclite1 installed). Did my card die
> already? Or is there something else going on?
>
> Two things I noticed in the strace output (included below) that jumped
> out at my untrained eye:
>
> write(3, "SCD SERIALNO openpgp", 20) = 20
> write(3, "\n", 1) = 1
> read(3, "ERR 100663356 Not supported <SCD>\n", 1002) = 34
>
> And the attempted access to /dev/cmx0:
>
> open("/dev/cmx0", O_RDWR|O_LARGEFILE) = -1 EBUSY (Device or resource
> busy)
>
> (although earlier in the strace stack, it was seemingly communicating).
>
> Thanks for any ideas or mechanisms I can use for debug.
> Micah
>
>
> $ gpg --card-status
> gpg: apdu_send_simple(0) failed: no card
> Please insert the card and hit return or enter 'c' to cancel:
> gpg: pcsc_establish_context failed: no service (0x8010001d)
> gpg: card reader not available
> gpg: OpenPGP card not available: general error
>
I have a SCR-335 (on Debian Lenny) and this failed this morning
$ gpg --card-status
gpg: pcsc_establish_context failed: no service (0x8010001d)
gpg: card reader not available
gpg: OpenPGP card not available: general error
--
Henry
More information about the Gnupg-users
mailing list