Release: 1.4.1rc1 w/ T1 debug enabled
Environment
FreeBSD 5.3
SCM SCR 331 Reader with 0.18 Firmware
Description
Keys are generated then a prompt ask for a passphrase to protect off-card keys. The process then fails with no keys created.
How To Repeat
bash-2.05b$ ./gpg --card-status --debug-ccid
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:E001:X:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: E001 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: enabling workaround for buggy SCM readers
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 00
data: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1
gpg: DBG: ccid-driver: sending 61 07 00 00 00 00 01 01 00 00 01 10 00 41 00 FE 00
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 01
data: 01 10 00 41 00 FE 00
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 02 00 00 00 00 C1 01 30 F0
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 00
data: 00 E1 01 30 D0
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: IFSD has been set to 48
gpg: DBG: ccid-driver: sending 6F 0F 00 00 00 00 03 04 00 00 00 00 0B 00 A4 04 00 06 D2 76 00 01 24 01 2D
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 16 6F 12 84 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 90 00 1B
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 04 04 00 00 00 40 05 00 CA 00 4F 00 C0
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 12 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 90 00 B6
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 05 04 00 00 00 00 05 00 CA 00 6E 00 A1
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 06 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 07 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 08 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 09 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0A 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0B 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0C 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0D 04 00 00 00 00 05 00 CA 00 5E 00 91
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0E 04 00 00 00 40 05 00 CA 00 65 00 EA
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 0D 5B 00 5F 2D 02 65 6E 5F 35 01 39 90 00 AF
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0F 04 00 00 00 00 05 00 CA 5F 50 00 C0
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 10 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 97
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 11 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 13
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 12 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AE
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 13 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 E8
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 14 04 00 00 00 00 05 00 CA 00 7A 00 B5
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 07 93 03 00 00 04 90 00 43
T1: got I-block seq=1 err=0
Application ID ...: D2760001240101000001000000F40000
Version ..........: 1.0
Manufacturer .....: PPC Card Systems
Serial number ....: 000000F4
Name of cardholder: [not set]
Language prefs ...: en
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 4
Signature key ....: A0C6 CF38 D03C A441 D004 AEC9 CE14 BAAE 60DA E116
Encryption key....: 7268 0616 8E95 7B1C 8726 47E7 CC5C F93A F5E8 35A3
Authentication key: 07CC DB42 0543 9A53 8E68 96C4 5BF7 5067 142B 5D94
General key info..: [none]
gpg: DBG: ccid-driver: status: 01 error: 00 octet[9]: 01
data:
bash-2.05b$ ./gpg --card-edit --debug-ccid
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: DBG: ccid-driver: using CCID reader 0 (ID=04E6:E001:X:0)
gpg: DBG: ccid-driver: idVendor: 04E6 idProduct: E001 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: enabling workaround for buggy SCM readers
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 00
data: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1
gpg: DBG: ccid-driver: sending 61 07 00 00 00 00 01 01 00 00 01 10 00 41 00 FE 00
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 01
data: 01 10 00 41 00 FE 00
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 02 00 00 00 00 C1 01 30 F0
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 00
data: 00 E1 01 30 D0
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: IFSD has been set to 48
gpg: DBG: ccid-driver: sending 6F 0F 00 00 00 00 03 04 00 00 00 00 0B 00 A4 04 00 06 D2 76 00 01 24 01 2D
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 16 6F 12 84 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 90 00 1B
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 04 04 00 00 00 40 05 00 CA 00 4F 00 C0
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 12 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 90 00 B6
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 05 04 00 00 00 00 05 00 CA 00 6E 00 A1
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 06 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 07 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 08 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 09 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0A 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0B 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 0C 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0D 04 00 00 00 00 05 00 CA 00 5E 00 91
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0E 04 00 00 00 40 05 00 CA 00 65 00 EA
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 0D 5B 00 5F 2D 02 65 6E 5F 35 01 39 90 00 AF
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 0F 04 00 00 00 00 05 00 CA 5F 50 00 C0
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 10 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 97
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 11 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 13
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 12 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AE
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 13 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 E8
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 14 04 00 00 00 00 05 00 CA 00 7A 00 B5
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 07 93 03 00 00 04 90 00 43
T1: got I-block seq=1 err=0
Application ID ...: D2760001240101000001000000F40000
Version ..........: 1.0
Manufacturer .....: PPC Card Systems
Serial number ....: 000000F4
Name of cardholder: [not set]
Language prefs ...: en
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 4
Signature key ....: A0C6 CF38 D03C A441 D004 AEC9 CE14 BAAE 60DA E116
Encryption key....: 7268 0616 8E95 7B1C 8726 47E7 CC5C F93A F5E8 35A3
Authentication key: 07CC DB42 0543 9A53 8E68 96C4 5BF7 5067 142B 5D94
General key info..: [none]
Command> admin
Admin commands are allowed
Command> generate
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 15 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 16 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 17 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 18 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
Make off-card backup of encryption key? (Y/n) y
gpg: NOTE: keys are already stored on the card!
Replace existing keys? (y/N) y
gpg: DBG: asking for PIN 'PIN'
PIN
gpg: DBG: ccid-driver: sending 6F 0F 00 00 00 00 19 04 00 00 00 00 0B 00 20 00 82 06 31 32 33 34 35 36 A8
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 0F 00 00 00 00 1A 04 00 00 00 40 0B 00 20 00 81 06 31 32 33 34 35 36 EB
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 02 90 00 D2
T1: got I-block seq=1 err=0
Please specify how long the key should be valid.
0 = key does not expire <n> = key expires in n days <n>w = key expires in n weeks <n>m = key expires in n months <n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"
Real name: with T1debug
Email address: withT1@debug.com
Comment:
You selected this USER-ID:
"with T1debug <withT1@debug.com>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 1B 04 00 00 00 00 05 00 CA 00 6E 00 A1
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 1C 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 1D 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 1E 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: existing key will be replaced
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 1F 04 00 00 00 40 05 00 CA 00 6E 00 E1
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 20 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C A0 C6 CF 38 D0 3C A4 41 D0 04 AE C9 CE 14 BA AE 60 DA E1 16 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 53
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 21 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 07 CC DB 42 05 43 9A 53 8E 68 96 C4 5B F7 50 67 14 2B 5D 94 C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 22 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: 3 Admin PIN attempts remaining before card is permanently locked
gpg: DBG: asking for PIN '|A|Admin PIN'
Admin PIN
gpg: DBG: ccid-driver: sending 6F 11 00 00 00 00 23 04 00 00 00 00 0D 00 20 00 83 08 31 32 33 34 35 36 37 38 AE
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 02 90 00 92
T1: got I-block seq=0 err=0
gpg: please wait while key is being generated ...
gpg: DBG: ccid-driver: sending 6F 0C 00 00 00 00 24 04 00 00 00 40 08 00 47 80 00 02 B6 00 00 3B
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 C3 01 01 C3
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: T1 S-block request received cmd=3
gpg: DBG: ccid-driver: T1 waittime extension of bwi=1
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 25 04 00 00 00 E3 01 01 E3
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 C3 01 01 C3
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: T1 S-block request received cmd=3
gpg: DBG: ccid-driver: T1 waittime extension of bwi=1
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 26 04 00 00 00 E3 01 01 E3
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 C3 01 01 C3
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: T1 S-block request received cmd=3
gpg: DBG: ccid-driver: T1 waittime extension of bwi=1
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 27 04 00 00 00 E3 01 01 E3
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 C3 01 01 C3
T1: got S-block seq=0 err=0
....
....
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: T1 S-block request received cmd=3
gpg: DBG: ccid-driver: T1 waittime extension of bwi=1
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 33 04 00 00 00 E3 01 01 E3
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 C3 01 01 C3
T1: got S-block seq=0 err=0
gpg: DBG: ccid-driver: T1 S-block request received cmd=3
gpg: DBG: ccid-driver: T1 waittime extension of bwi=1
gpg: DBG: ccid-driver: sending 6F 05 00 00 00 00 34 04 00 00 00 E3 01 01 E3
T1: put S-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 7F 49 81 89 81 81 80 EE 61 DB FE 6F 22 FE B9 6E BC 5B 7C 8D A1 E0 25 91 74 7E 97 4E 10 E5 A6 62 CC 14 3B B2 3C 2C B6 56 1F B8 05 2D 72 D3 9C 1D 6F
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 35 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 E1 25 0E E7 FB C4 F1 84 EA DC CB 84 1E 32 11 6C 42 E9 A2 3D 15 F6 C4 39 D2 80 56 B8 55 F2 E8 21 FE DD 43 46 A5 07 05 60 53 DB B1 29 1B FF 5D 99 36
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 36 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 2F 67 10 5F 4E 4D 38 68 4A 4B 0D 58 8F E0 24 99 BF 08 71 41 F8 6F 03 A5 0B 1B C6 18 D2 E0 0E AF 2F 45 7F FF CD 92 87 D7 82 04 9F 17 80 A3 90 00 61
T1: got I-block seq=0 err=0
gpg: key generation completed (17 seconds)
gpg: DBG: ccid-driver: sending 6F 1D 00 00 00 00 37 04 00 00 00 40 19 00 DA 00 C9 14 63 B0 1D 03 5C E2 24 AA CC EA DA 9A 67 19 3B E6 15 41 68 2C 76
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 02 90 00 D2
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 38 04 00 00 00 00 05 00 CA 00 6E 00 A1
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 4F 10 D2 76 00 01 24 01 01 00 00 01 00 00 00 F4 00 00 73 81 9D C0 01 60 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 D7
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 39 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 FE FE FE 03 03 03 C5 3C 96 5C 3E 8B 02 68 F7 47 25 66 FC 67 2C D9 B6 F9 54 A2 CC A1 72 68 06 16 8E 95 7B 1C 87 26 47 E7 CC 5C F9 3A F5 E8 35 A3 A7
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 3A 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 63 B0 1D 03 5C E2 24 AA CC EA DA 9A 67 19 3B E6 15 41 68 2C C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C2
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 3B 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 26 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5E 00 90 00 A8
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 09 00 00 00 00 3C 04 00 00 00 40 05 00 CA 00 7A 00 F5
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 07 93 03 00 00 02 90 00 05
T1: got I-block seq=0 err=0
gpg: signatures created so far: 2
gpg: DBG: ccid-driver: sending 6F 2D 00 00 00 00 3D 04 00 00 00 00 29 00 2A 9E 9A 23 30 21 30 09 06 05 2B 0E 03 02 1A 05 00 04 14 D0 E0 EA 98 0B 1F E1 17 6A D8 00 E7 22 2A E3 9157 38 FA A0 00 9E
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 94 CB 64 CC 77 20 94 7F 9C E1 1F 12 FD 57 5E 53 BF C8 CF DB EF 4A BA 7C C4 D1 69 D9 46 5F 5A BB E7 6B 61 D5 C3 29 54 4A E8 A8 30 C8 B4 FF DD 5D 2E
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 3E 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 E4 29 E4 10 DA B8 E4 59 D6 42 4C 57 10 71 5C E5 36 42 FF 5E 4A CE CC 56 AC DF 85 C9 B8 78 74 B3 56 ED AC 22 70 AF B4 97 15 E3 F5 9D 92 B8 F4 D4 0F
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 3F 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 40 22 54 92 9E BC BB EC 00 D2 58 60 5A 34 3E BF D7 17 85 A0 EA 0F 1D 02 C1 E2 6F AA 29 D8 98 78 C2 93 90 00 FD
T1: got I-block seq=1 err=0
gpg: signatures created so far: 2
gpg: DBG: ccid-driver: sending 6F 2D 00 00 00 00 40 04 00 00 00 40 29 00 2A 9E 9A 23 30 21 30 09 06 05 2B 0E 03 02 1A 05 00 04 14 D0 E0 EA 98 0B 1F E1 17 6A D8 00 E7 22 2A E3 9157 38 FA A0 00 DE
T1: put I-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 20 30 94 CB 64 CC 77 20 94 7F 9C E1 1F 12 FD 57 5E 53 BF C8 CF DB EF 4A BA 7C C4 D1 69 D9 46 5F 5A BB E7 6B 61 D5 C3 29 54 4A E8 A8 30 C8 B4 FF DD 5D 6E
T1: got I-block seq=0 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 41 04 00 00 00 90 00 90
T1: put R-block seq=1
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 60 30 E4 29 E4 10 DA B8 E4 59 D6 42 4C 57 10 71 5C E5 36 42 FF 5E 4A CE CC 56 AC DF 85 C9 B8 78 74 B3 56 ED AC 22 70 AF B4 97 15 E3 F5 9D 92 B8 F4 D4 4F
T1: got I-block seq=1 err=0
gpg: DBG: ccid-driver: sending 6F 04 00 00 00 00 42 04 00 00 00 80 00 80
T1: put R-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 00 22 54 92 9E BC BB EC 00 D2 58 60 5A 34 3E BF D7 17 85 A0 EA 0F 1D 02 C1 E2 6F AA 29 D8 98 78 C2 93 90 00 BD
T1: got I-block seq=0 err=0
You need a Passphrase to protect your secret key.
.+++++
+++++
gpg: DBG: ccid-driver: sending 6F 84 00 00 00 00 43 04 00 00 00 20 80 00 DA 00 E1 8A C0 04 00 00 00 29 C1 40 E1 09 2C AB AD 76 17 44 95 1C 52 90 02 B4 F3 34 DD 1C 54 C5 C7 98 131E C4 D0 E2 AB C1 20 D6 71 6D A5 B7 6E E2 B5 20 70 9C 4D 20 BE D6 3A F0 40 C5 D9 E6 DF 4A 02 BB FB 49 D2 7E 8E 6E 5D 76 41 C2 40 E3 38 15 85 97 89 86 96 8C E6 52 C6 4D 62 69 D3 99 F8 6B 53 29 92 33 70 E2 C5 37 45 CB 15 0C 2F 58 67 40 41 0F 53 3A 2B 97 20 4F EE AD FB4C 25 CE CF
T1: put I-block seq=0
gpg: DBG: ccid-driver: status: 00 error: 00 octet[9]: 04
data: 00 90 00 90
T1: got R-block seq=1 err=0
gpg: DBG: ccid-driver: R-block with wrong seqno received on more bit
gpg: ccid_transceive failed: (0x1000a)
gpg: apdu_send_simple(0) failed: card I/O error
gpg: failed to store the key: general error
gpg: storing key onto card failed: general error
Key generation failed: general error
Command>
Fix
Fixed in CVS and patch send to gnupg-devel@