OpenPGP-Card2.0 and Omnikey Cardman 3021?

Talmage talmage at orange.zero.jp
Sun Oct 4 12:36:34 CEST 2009


Werner, thanks for the response.
I figured it was a problem with the Omnikey, so I went ahead and got a  
SCR335, only to find out that it gives the same exact error when  
generating keys on the card...  I'm starting to wonder if this is some  
kind of USB issue with Mac OS Snow Leopard.

My system is a Mac OS X 10.6 system, with gnupg 1.4.10, and  
OpenPGPCard v2.0.
I read somewhere that the SCR335 needs the newest firmware, so updated  
firmware to 5.23, but still the same problem.

Again, here is the output.
Any clues as to what might be causing this?
Has anyone successfully used the OpenPGPCard v2.0 on Snow Leopard?
Thanks.

Talmage
--------------------------------
$ gpg --version
gpg (GnuPG) 1.4.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html 
 >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,  
CAMELLIA128,
         CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

$ gpg --card-edit

Application ID ...: D27600012401020000050000012E0000
Version ..........: 2.0
Manufacturer .....: ZeitControl
Serial number ....: 0000012E
Name of cardholder: Test User
Language prefs ...: en
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Private DO 1 .....: [not set]
Private DO 2 .....: [not set]
Signature PIN ....: not forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 32 32 32
PIN retry counter : 3 0 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]

Command> admin
Admin commands are allowed

Command> generate
Make off-card backup of encryption key? (Y/n) n

Please enter the PIN
What keysize do you want for the Signature key? (2048)
What keysize do you want for the Encryption key? (2048)
What keysize do you want for the Authentication key? (2048)
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 at duesseldorf.de>"

Real name: Test User
Email address: test at domain
Comment: TEST2
You selected this USER-ID:
     "Test User (TEST2) <test at domain>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: generating new key
gpg: 3 Admin PIN attempts remaining before card is permanently locked

Please enter the Admin PIN
gpg: please wait while key is being generated ...
gpg: ccid_transceive failed: (0x1000a)
gpg: apdu_send_simple(0) failed: card I/O error
gpg: generating key failed
gpg: key generation failed: general error
Key generation failed: general error

Command> quit

$ gpg --card-status --debug-ccid-driver
gpg: DBG: ccid-driver: using CCID reader 0  
(ID=04E6:5115:21120713300395:0)
gpg: DBG: ccid-driver: idVendor: 04E6  idProduct: 5115  bcdDevice: 0523
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.10  (Warning: Only  
accurate for version 1.0)
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      8000
gpg: DBG: ccid-driver:   bNumClockSupported      0
gpg: DBG: ccid-driver:   dwDataRate          10753 bps
gpg: DBG: ccid-driver:   dwMaxDataRate      344105 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       271
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 ..........: 21
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 1
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   [0010]  3B DA 18 FF 81 B1
gpg: DBG: ccid-driver:   [0016]  FE 75 1F 03 00 31 C5 73 C0 01 40 00  
90 00 0C
gpg: DBG: ccid-driver: PC_to_RDR_GetParameters:
gpg: DBG: ccid-driver:   dwLength ..........: 0
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 2
gpg: DBG: ccid-driver:   [0007]  00 00 00
gpg: DBG: ccid-driver: RDR_to_PC_Parameters:
gpg: DBG: ccid-driver:   dwLength ..........: 7
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 2
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   protocol ..........: T=1
gpg: DBG: ccid-driver:   bmFindexDindex ....: 11
gpg: DBG: ccid-driver:   bmTCCKST1 .........: 10
gpg: DBG: ccid-driver:   bGuardTimeT1 ......: 00
gpg: DBG: ccid-driver:   bmWaitingIntegersT1: 75
gpg: DBG: ccid-driver:   bClockStop ........: 00
gpg: DBG: ccid-driver:   bIFSC .............: 254
gpg: DBG: ccid-driver:   bNadValue .........: 0
gpg: DBG: ccid-driver: PC_to_RDR_SetParameters:
gpg: DBG: ccid-driver:   dwLength ..........: 7
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 3
gpg: DBG: ccid-driver:   bProtocolNum ......: 0x01
gpg: DBG: ccid-driver:   [0008]  00 00 11 10 00 75 00 FE
gpg: DBG: ccid-driver:   [0016]  00
gpg: DBG: ccid-driver: RDR_to_PC_Parameters:
gpg: DBG: ccid-driver:   dwLength ..........: 7
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 3
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   protocol ..........: T=1
gpg: DBG: ccid-driver:   bmFindexDindex ....: 11
gpg: DBG: ccid-driver:   bmTCCKST1 .........: 10
gpg: DBG: ccid-driver:   bGuardTimeT1 ......: 00
gpg: DBG: ccid-driver:   bmWaitingIntegersT1: 75
gpg: DBG: ccid-driver:   bClockStop ........: 00
gpg: DBG: ccid-driver:   bIFSC .............: 254
gpg: DBG: ccid-driver:   bNadValue .........: 0
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 5
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 4
gpg: DBG: ccid-driver:   bBWI ..............: 0x00
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 C1 01 FC 3C
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 5
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 4
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   [0010]  00 E1 01 FC 1C
gpg: DBG: ccid-driver: IFSD has been set to 252
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 15
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 5
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 0B 00 A4 04
gpg: DBG: ccid-driver:   [0016]  00 06 D2 76 00 01 24 01 2D
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 6
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 5
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 02 90 00 92gpg: DBG: ccid- 
driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 6
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  4F 00 C0
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 22
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 6
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 12 D2 76 00
gpg: DBG: ccid-driver:   [0016]  01 24 01 02 00 00 05 00 00 01 2E 00  
00 90 00 6Agpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 7
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 5F
gpg: DBG: ccid-driver:   [0016]  52 00 C2
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 16
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 7
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 0C 00 31 C5
gpg: DBG: ccid-driver:   [0016]  73 C0 01 40 05 90 00 90 00 0F
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 8
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  C4 00 4B
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 13
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 8
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 09 01 20 20
gpg: DBG: ccid-driver:   [0016]  20 03 00 03 90 00 F8
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 9
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  6E 00 A1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 223
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 9
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 DB 4F 10 D2
gpg: DBG: ccid-driver:   [0016]  76 00 01 24 01 02 00 00 05 00 00 01  
2E 00 00 5F
gpg: DBG: ccid-driver:   [0032]  52 0A 00 31 C5 73 C0 01 40 05 90 00  
73 81 B7 C0
gpg: DBG: ccid-driver:   [0048]  0A 7C 00 08 00 08 00 08 00 08 00 C1  
06 01 08 00
gpg: DBG: ccid-driver:   [0064]  00 20 00 C2 06 01 08 00 00 20 00 C3  
06 01 08 00
gpg: DBG: ccid-driver:   [0080]  00 20 00 C4 07 01 20 20 20 03 00 03  
C5 3C 00 00
gpg: DBG: ccid-driver:   [0096]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0112]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0128]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0144]  00 00 00 00 00 00 00 00 00 00 C6 3C  
00 00 00 00
gpg: DBG: ccid-driver:   [0160]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0176]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0192]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0208]  00 00 00 00 00 00 00 00 CD 0C 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0224]  00 00 00 00 00 00 90 00 14
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 10
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  5E 00 D1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 6
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 10
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 02 90 00 D2gpg: DBG: ccid- 
driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 11
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  6E 00 A1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 223
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 11
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 DB 4F 10 D2
gpg: DBG: ccid-driver:   [0016]  76 00 01 24 01 02 00 00 05 00 00 01  
2E 00 00 5F
gpg: DBG: ccid-driver:   [0032]  52 0A 00 31 C5 73 C0 01 40 05 90 00  
73 81 B7 C0
gpg: DBG: ccid-driver:   [0048]  0A 7C 00 08 00 08 00 08 00 08 00 C1  
06 01 08 00
gpg: DBG: ccid-driver:   [0064]  00 20 00 C2 06 01 08 00 00 20 00 C3  
06 01 08 00
gpg: DBG: ccid-driver:   [0080]  00 20 00 C4 07 01 20 20 20 03 00 03  
C5 3C 00 00
gpg: DBG: ccid-driver:   [0096]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0112]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0128]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0144]  00 00 00 00 00 00 00 00 00 00 C6 3C  
00 00 00 00
gpg: DBG: ccid-driver:   [0160]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0176]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0192]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0208]  00 00 00 00 00 00 00 00 CD 0C 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0224]  00 00 00 00 00 00 90 00 14
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 12
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  6E 00 E1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 223
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 12
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 DB 4F 10 D2
gpg: DBG: ccid-driver:   [0016]  76 00 01 24 01 02 00 00 05 00 00 01  
2E 00 00 5F
gpg: DBG: ccid-driver:   [0032]  52 0A 00 31 C5 73 C0 01 40 05 90 00  
73 81 B7 C0
gpg: DBG: ccid-driver:   [0048]  0A 7C 00 08 00 08 00 08 00 08 00 C1  
06 01 08 00
gpg: DBG: ccid-driver:   [0064]  00 20 00 C2 06 01 08 00 00 20 00 C3  
06 01 08 00
gpg: DBG: ccid-driver:   [0080]  00 20 00 C4 07 01 20 20 20 03 00 03  
C5 3C 00 00
gpg: DBG: ccid-driver:   [0096]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0112]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0128]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0144]  00 00 00 00 00 00 00 00 00 00 C6 3C  
00 00 00 00
gpg: DBG: ccid-driver:   [0160]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0176]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0192]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0208]  00 00 00 00 00 00 00 00 CD 0C 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0224]  00 00 00 00 00 00 90 00 54
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 13
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  6E 00 A1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 223
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 13
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 DB 4F 10 D2
gpg: DBG: ccid-driver:   [0016]  76 00 01 24 01 02 00 00 05 00 00 01  
2E 00 00 5F
gpg: DBG: ccid-driver:   [0032]  52 0A 00 31 C5 73 C0 01 40 05 90 00  
73 81 B7 C0
gpg: DBG: ccid-driver:   [0048]  0A 7C 00 08 00 08 00 08 00 08 00 C1  
06 01 08 00
gpg: DBG: ccid-driver:   [0064]  00 20 00 C2 06 01 08 00 00 20 00 C3  
06 01 08 00
gpg: DBG: ccid-driver:   [0080]  00 20 00 C4 07 01 20 20 20 03 00 03  
C5 3C 00 00
gpg: DBG: ccid-driver:   [0096]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0112]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0128]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0144]  00 00 00 00 00 00 00 00 00 00 C6 3C  
00 00 00 00
gpg: DBG: ccid-driver:   [0160]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0176]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0192]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0208]  00 00 00 00 00 00 00 00 CD 0C 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0224]  00 00 00 00 00 00 90 00 14
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 14
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  65 00 EA
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 27
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 14
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 17 5B 0A 55
gpg: DBG: ccid-driver:   [0016]  73 65 72 3C 3C 54 65 73 74 5F 2D 02  
65 6E 5F 35
gpg: DBG: ccid-driver:   [0032]  01 39 90 00 B8
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 15
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 5F
gpg: DBG: ccid-driver:   [0016]  50 00 C0
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 6
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 15
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 02 90 00 92gpg: DBG: ccid- 
driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 16
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  6E 00 E1
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 223
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 16
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 DB 4F 10 D2
gpg: DBG: ccid-driver:   [0016]  76 00 01 24 01 02 00 00 05 00 00 01  
2E 00 00 5F
gpg: DBG: ccid-driver:   [0032]  52 0A 00 31 C5 73 C0 01 40 05 90 00  
73 81 B7 C0
gpg: DBG: ccid-driver:   [0048]  0A 7C 00 08 00 08 00 08 00 08 00 C1  
06 01 08 00
gpg: DBG: ccid-driver:   [0064]  00 20 00 C2 06 01 08 00 00 20 00 C3  
06 01 08 00
gpg: DBG: ccid-driver:   [0080]  00 20 00 C4 07 01 20 20 20 03 00 03  
C5 3C 00 00
gpg: DBG: ccid-driver:   [0096]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0112]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0128]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0144]  00 00 00 00 00 00 00 00 00 00 C6 3C  
00 00 00 00
gpg: DBG: ccid-driver:   [0160]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0176]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0192]  00 00 00 00 00 00 00 00 00 00 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0208]  00 00 00 00 00 00 00 00 CD 0C 00 00  
00 00 00 00
gpg: DBG: ccid-driver:   [0224]  00 00 00 00 00 00 90 00 54
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 17
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  C4 00 0B
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 13
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 17
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 09 01 20 20
gpg: DBG: ccid-driver:   [0016]  20 03 00 03 90 00 B8
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 18
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 00
gpg: DBG: ccid-driver:   [0016]  7A 00 F5
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 11
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 18
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 07 93 03 00
gpg: DBG: ccid-driver:   [0016]  00 00 90 00 47
gpg: DBG: ccid-driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 19
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 00 05 00 CA 01
gpg: DBG: ccid-driver:   [0016]  01 00 CF
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 6
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 19
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 00 02 90 00 92gpg: DBG: ccid- 
driver: PC_to_RDR_XfrBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 9
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 20
gpg: DBG: ccid-driver:   bBWI ..............: 0x04
gpg: DBG: ccid-driver:   wLevelParameter ...: 0x0000
gpg: DBG: ccid-driver:   [0010]  00 40 05 00 CA 01
gpg: DBG: ccid-driver:   [0016]  02 00 8C
gpg: DBG: ccid-driver: RDR_to_PC_DataBlock:
gpg: DBG: ccid-driver:   dwLength ..........: 6
gpg: DBG: ccid-driver:   bSlot .............: 0
gpg: DBG: ccid-driver:   bSeq ..............: 20
gpg: DBG: ccid-driver:   bStatus ...........: 0
gpg: DBG: ccid-driver:   bChainParameter ...: 0x04
gpg: DBG: ccid-driver:   [0010]  00 40 02 90 00 D2Application ID ...:  
D27600012401020000050000012E0000
Version ..........: 2.0
Manufacturer .....: ZeitControl
Serial number ....: 0000012E
Name of cardholder: Test User
Language prefs ...: en
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Private DO 1 .....: [not set]
Private DO 2 .....: [not set]
Signature PIN ....: not forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 32 32 32
PIN retry counter : 3 0 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]
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 ..............: 21
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 ..............: 21
gpg: DBG: ccid-driver:   bStatus ...........: 1
gpg: DBG: ccid-driver:   bClockStatus ......: 0x01 (stopped-L)

-----------------------------


On Sep 30, 2009, at 11:06 PM, Werner Koch wrote:

> On Wed, 30 Sep 2009 13:51, talmage at orange.zero.jp said:
>
>> Has anyone gotten the Omnikey Cardman 3021 to work with the internal
>> drivers?
>
> That one does not work reliable with 2048 bit keys.  The Windows  
> driver
> seems to have a workaround for it and I tried to come up with a  
> similar
> workaround.  However the protocol analysis I did is not complete and  
> we
> often get out of sync.  Avoid Omnikey or ask them to explain how to
> correctly switch and operation in TPDU mode.
>
>
> Salam-Shalom,
>
>   Werner
>
> -- 
> Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.
>




More information about the Gnupg-users mailing list