key generation fails with Crypto Stick and MacOS X
Werner Koch
wk at gnupg.org
Wed Oct 2 17:29:30 CEST 2013
On Wed, 2 Oct 2013 11:37, jan at dotplex.de said:
[I stripped date and hour from the log.]
> 15:47 scdaemon[1604] DBG: raw apdu: 00 A4 04 00 06 D2 76 00 01 24 01
> 15:47 scdaemon[1604] DBG: response: sw=6285 datalen=0
> 15:47 scdaemon[1604] can't select application `openpgp': Not supported
sw=6285 means that your card is in termination state.
> 15:53 scdaemon[1604] can't select application `openpgp': Not supported
> 21:01 scdaemon[1604] reader slot 0: using ccid driver
You inserted the right card during these 5 minutes, right?
> 21:01 scdaemon[1604] DBG: raw apdu: 00 A4 04 00 06 D2 76 00 01 24 01
> 21:01 scdaemon[1604] DBG: response: sw=9000 datalen=0
Now the OpenPGP application has been selected.
> 21:02 scdaemon[1604] Version-2 ......: yes
> 21:02 scdaemon[1604] Get-Challenge ..: yes (2048 bytes max)
[...]
Card info hast been gathered.
> 21:03 scdaemon[1604] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=2048 em=1
> 21:03 scdaemon[1604] DBG: raw apdu: 00 47 81 00 00 00 02 B6 00 08 00
> 21:03 scdaemon[1604] DBG: response: sw=6A88 datalen=0
> 21:03 scdaemon[1604] reading public key failed: Missing item in object
Running the key generation failed. The problem seems to be your card
reader or the OS X USB stack.
You may want to check that the card works on a Linux or Windows box.
> 28:16 scdaemon[1604] reader slot 0: using ccid driver
> 28:16 scdaemon[1604] slot 0: ATR=3B DA 18 FF 81 B1 FE 75 1F 03 00 31
You tried again - that does not help - there is already a problem.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list