[english 99%] Re: Another problem of large key generation

Patrick patrick.pub at nerim.net
Mon Aug 13 15:18:05 CEST 2012


Hi

I have been validating one level of debug

scdaemon[4059]: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
scdaemon[4059]: DBG: ccid-driver:   [0016]  C4 00 4B
scdaemon[4059]: DBG: ccid-driver: RDR_to_PC_DataBlock:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 13
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 123
scdaemon[4059]: DBG: ccid-driver:   bStatus ...........: 0
scdaemon[4059]: DBG: ccid-driver:   bChainParameter ...: 0x04
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 00 09 01 20 20
scdaemon[4059]: DBG: ccid-driver:   [0016]  20 03 00 03 90 00 B8
scdaemon[4059]: 3 Admin PIN attempts remaining before card is permanently
locked
scdaemon[4059]: DBG: prompting for keypad entry '|A|Please enter the Admin
PIN'
scdaemon[4059]: DBG: ccid-driver: sending escape sequence to switch to a
case 1 APDU
scdaemon[4059]: DBG: ccid-driver: PC_to_RDR_Escape:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 3
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 125
scdaemon[4059]: DBG: ccid-driver:   [0007]  00 00 00 80 02 00
scdaemon[4059]: DBG: ccid-driver: RDR_to_PC_Escape:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 0
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 125
scdaemon[4059]: DBG: ccid-driver:   bStatus ...........: 0
scdaemon[4059]: DBG: ccid-driver:   buffer[9] .........: 00
scdaemon[4059]: DBG: ccid-driver: PC_to_RDR_Secure:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 19
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 126
scdaemon[4059]: DBG: ccid-driver:   bBMI ..............: 0x00
scdaemon[4059]: DBG: ccid-driver:   wLevelParameter ...: 0x0000
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 00 82 00 00 19
scdaemon[4059]: DBG: ccid-driver:   [0016]  08 02 FF 04 09 00 00 00 00 00 20
00 83
scdaemon[4059]: DBG: ccid-driver: RDR_to_PC_DataBlock:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 6
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 126
scdaemon[4059]: DBG: ccid-driver:   bStatus ...........: 0
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 40 02 90 00 D2
scdaemon[4059]: DBG: dismiss keypad entry prompt
scdaemon[4059]: please wait while key is being generated ...
scdaemon[4059]: DBG: ccid-driver: PC_to_RDR_XfrBlock:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 15
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 128
scdaemon[4059]: DBG: ccid-driver:   bBWI ..............: 0x04
scdaemon[4059]: DBG: ccid-driver:   wLevelParameter ...: 0x0000
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 40 0B 00 47 80
scdaemon[4059]: DBG: ccid-driver:   [0016]  00 00 00 02 B6 00 08 00 30
scdaemon[4059]: DBG: ccid-driver: RDR_to_PC_DataBlock:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 5
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 128
scdaemon[4059]: DBG: ccid-driver:   bStatus ...........: 0
scdaemon[4059]: DBG: ccid-driver:   bChainParameter ...: 0x04
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 C3 01 64 A6
scdaemon[4059]: DBG: ccid-driver: T=1: S-block request received cmd=3
scdaemon[4059]: DBG: ccid-driver: T=1: waittime extension of bwi=100
scdaemon[4059]: DBG: ccid-driver: PC_to_RDR_XfrBlock:
scdaemon[4059]: DBG: ccid-driver:   dwLength ..........: 5
scdaemon[4059]: DBG: ccid-driver:   bSlot .............: 0
scdaemon[4059]: DBG: ccid-driver:   bSeq ..............: 129
scdaemon[4059]: DBG: ccid-driver:   bBWI ..............: 0x04
scdaemon[4059]: DBG: ccid-driver:   wLevelParameter ...: 0x0000
scdaemon[4059]: DBG: ccid-driver:   [0010]  00 E3 01 64 86
scdaemon[4059]: DBG: ccid-driver: usb_bulk_read error: Connection timed out
scdaemon[4059]: ccid_transceive failed: (0x1000a)
scdaemon[4059]: apdu_send_simple(0) failed: card I/O error
scdaemon[4059]: generating key failed
gpg: key generation failed: Card error
scdaemon[4059]: DBG: ccid-driver: usb_bulk_read error: Connection timed out
scdaemon[4059]: DBG: ccid-driver: USB: CALLING USB_CLEAR_HALT
scdaemon[4059]: DBG: ccid-driver: bulk-in seqno does not match (131/129)
scdaemon[4059]: DBG: ccid-driver: bulk-in seqno does not match (131/130)
scdaemon[4059]: scdaemon (GnuPG) 2.0.19 stopped

Patrick


-----Original Message-----
From: Werner Koch [mailto:wk at gnupg.org] 
Sent: Monday, August 13, 2012 11:44 AM
To: Patrick
Cc: gnupg-users at gnupg.org
Subject: [english 99%] Re: Another problem of large key generation

On Thu,  9 Aug 2012 13:47, patrick.pub at nerim.net said:

> Scdaemon[4755]: please wait while key is generated ...
> Scdaemon[4755]: ccid_transceive failed: ( 0x1000a)
> Scdaemon[4755]: apdu_send_simple(0) failed: card I/O error
> Scdaemon[4755]: key generation failed: Card error

If you want to look closer at it, add "debug-ccid-driver" do
scdaemon.conf.  If you add this option two times it will even be more
verbose.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.



.




More information about the Gnupg-users mailing list