Hai,
I tried to generate a keypair using gpg. Unfortunately I get this error:
[quote]Command> generate
Make off-card backup of encryption key? (Y/n) n
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
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
GnuPG needs to construct a user ID to identify your key.
Real name: XXXXXXXXXXXX
Email address: xxxx.xxxxx@xxx.bund.de
Comment: CryptoStick
You selected this USER-ID:
“XXXXXXXXXXXXX (CryptoStick) xxxx.xxxxx@xxx.bund.de”
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
gpg: key generation failed: Card error
Key generation failed: Card error
gpg: error setting forced signature PIN flag: Input/output error[/quote]
Nach de.wikipedia.org/wiki/Application_Protocol_Data_Unit#Statusw.C3.B6rter ist das “Statuswort” ein Wert zwischen 6xxx und 9000. Damit ist das was der scdaemon da liest ungültig: 0000 ?
Linux maggie 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
ii gpgsm 2.0.14-1.1ubuntu2 GNU privacy guard - S/MIME version