"card inactive"
Osama Khalid
osamak at gnu.org
Sun Oct 24 20:40:10 CEST 2010
Hello,
I've been using FSFE Fellowship OpenPGP smartcard for a couple of
weeks and now I'm getting error messages.
I wonder if it's the smartcard reader (SCR335) or the smartcard
itself.
I've attached the output of:
gpg --debug 2048 --debug-ccid-driver -v --card-status
My gpg version is 1.4.10 and it is the one that comes with
Ubuntu-10.04-based systems (I use Trisquel 4.0).
I'd appreciate any hint.
--Osama Khalid
-------------- next part --------------
$ gpg --debug 2048 --debug-ccid-driver -v --card-status
gpg: reading options from `/home/<username>/.gnupg/gpg.conf'
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:5115:21120811308114:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0518
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 307200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOn:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 1
gpg: DBG: ccid-driver: bPowerSelect ......: 0x00 (auto)
gpg: DBG: ccid-driver: [0008] 00 00
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 1
gpg: DBG: ccid-driver: bStatus ...........: 65
gpg: DBG: ccid-driver: bError ............: 254
gpg: DBG: ccid-driver: CCID command failed: CCID timed out while talking to the ICC
gpg: reader slot 0: using ccid driver
gpg: DBG: send apdu: c=00 i=A4 p1=04 p2=00 lc=6 le=-1 em=0
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOn:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 3
gpg: DBG: ccid-driver: bPowerSelect ......: 0x00 (auto)
gpg: DBG: ccid-driver: [0008] 00 00
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 3
gpg: DBG: ccid-driver: bStatus ...........: 65
gpg: DBG: ccid-driver: bError ............: 254
gpg: DBG: ccid-driver: CCID command failed: CCID timed out while talking to the ICC
gpg: apdu_send_simple(0) failed: card inactive
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOff:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 4
gpg: DBG: ccid-driver: [0007] 00 00 00
gpg: DBG: ccid-driver: RDR_to_PC_SlotStatus:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 4
gpg: DBG: ccid-driver: bStatus ...........: 1
gpg: DBG: ccid-driver: bClockStatus ......: 0x01 (stopped-L)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0518
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 307200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:5115:21120811308114:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0518
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 307200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOn:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 1
gpg: DBG: ccid-driver: bPowerSelect ......: 0x00 (auto)
gpg: DBG: ccid-driver: [0008] 00 00
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 1
gpg: DBG: ccid-driver: bStatus ...........: 65
gpg: DBG: ccid-driver: bError ............: 254
gpg: DBG: ccid-driver: CCID command failed: CCID timed out while talking to the ICC
gpg: reader slot 0: using ccid driver
gpg: DBG: send apdu: c=00 i=A4 p1=04 p2=00 lc=6 le=-1 em=0
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOn:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 3
gpg: DBG: ccid-driver: bPowerSelect ......: 0x00 (auto)
gpg: DBG: ccid-driver: [0008] 00 00
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 3
gpg: DBG: ccid-driver: bStatus ...........: 65
gpg: DBG: ccid-driver: bError ............: 254
gpg: DBG: ccid-driver: CCID command failed: CCID timed out while talking to the ICC
gpg: apdu_send_simple(0) failed: card inactive
gpg: DBG: ccid-driver: PC_to_RDR_IccPowerOff:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 4
gpg: DBG: ccid-driver: [0007] 00 00 00
gpg: DBG: ccid-driver: RDR_to_PC_SlotStatus:
gpg: DBG: ccid-driver: dwLength ..........: 0
gpg: DBG: ccid-driver: bSlot .............: 0
gpg: DBG: ccid-driver: bSeq ..............: 4
gpg: DBG: ccid-driver: bStatus ...........: 1
gpg: DBG: ccid-driver: bClockStatus ......: 0x01 (stopped-L)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: 5115 bcdDevice: 0518
gpg: DBG: ccid-driver: ChipCard Interface Descriptor:
gpg: DBG: ccid-driver: bLength 54
gpg: DBG: ccid-driver: bDescriptorType 33
gpg: DBG: ccid-driver: bcdCCID 1.00
gpg: DBG: ccid-driver: nMaxSlotIndex 0
gpg: DBG: ccid-driver: bVoltageSupport 1 5.0V
gpg: DBG: ccid-driver: dwProtocols 3 T=0 T=1
gpg: DBG: ccid-driver: dwDefaultClock 4000
gpg: DBG: ccid-driver: dwMaxiumumClock 12000
gpg: DBG: ccid-driver: bNumClockSupported 0
gpg: DBG: ccid-driver: dwDataRate 9600 bps
gpg: DBG: ccid-driver: dwMaxDataRate 307200 bps
gpg: DBG: ccid-driver: bNumDataRatesSupp. 0
gpg: DBG: ccid-driver: dwMaxIFSD 252
gpg: DBG: ccid-driver: dwSyncProtocols 00000000
gpg: DBG: ccid-driver: dwMechanical 00000000
gpg: DBG: ccid-driver: dwFeatures 000100BA
gpg: DBG: ccid-driver: Auto configuration based on ATR
gpg: DBG: ccid-driver: Auto voltage selection
gpg: DBG: ccid-driver: Auto clock change
gpg: DBG: ccid-driver: Auto baud rate change
gpg: DBG: ccid-driver: Auto PPS made by CCID
gpg: DBG: ccid-driver: TPDU level exchange
gpg: DBG: ccid-driver: dwMaxCCIDMsgLen 263
gpg: DBG: ccid-driver: bClassGetResponse echo
gpg: DBG: ccid-driver: bClassEnvelope echo
gpg: DBG: ccid-driver: wlcdLayout none
gpg: DBG: ccid-driver: bPINSupport 0
gpg: DBG: ccid-driver: bMaxCCIDBusySlots 1
Please insert the card and hit return or enter 'c' to cancel:
gpg: Interrupt caught ... exiting
More information about the Gnupg-users
mailing list