Omnikey 6121: не удается записать на смарт-карту OpenPGP

Я пытаюсь использовать смарт-карту Omnikey 6121 с смарт-картой OpenPGPv2. Читатель распознается, как я вижу из gpg --card-status, и мне удалось редактировать некоторые данные о карте, такие как URL, имя и т. Д.

Однако, когда я пытаюсь выдать команду «keytocard», я получаю следующее :

gpg: writing new key
gpg: 3 Admin PIN attempts remaining before card is permanently locked

Please enter the Admin PIN
gpg: ccid_transceive failed: (0x10002)
gpg: apdu_send_simple(0) failed: invalid value
gpg: failed to store the key: invalid argument
gpg: error writing key to card: invalid argument

Такая же ошибка с -debug-ccid-driver.

И аналогично, если я просто выдаю «generate»:

gpg/card> 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 E-mail Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name: Deim0s Anomaly
E-mail address: deim0s@example.com
Comment: 
You selected this USER-ID:
    "Deim0s Anomaly <deim0s@example.com>"

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: generating key failed
gpg: key generation failed: general error
Key generation failed: general error

gpg/card> 
[d4 ]что происходит? Может ли кто-нибудь помочь?

1
задан 24 January 2015 в 14:08

0 ответов

Другие вопросы по тегам:

Похожие вопросы: