Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

gpg: key generation failed: Card error

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


ml at mareichelt

Nov 18, 2009, 11:32 AM

Post #1 of 3 (677 views)
Permalink
gpg: key generation failed: Card error

Hi,

I cannot create keys on my shiny new v2 smartcard. Personalizing the
card works just fine, as does changing PINs.

But when I want to generate new keys I always get this error message
(after gpg asked about how long the key shall be valid):

gpg: key generation failed: Card error
Key generation failed: Card error

That's on a stock Slackware 13 system, gpg (GnuPG) 2.0.12, libgcrypt
1.4.4 with OMNIKEY CardMan 4040 v1.1.0gm5.

Any hints?

--
left blank, right bald


ml at mareichelt

Nov 21, 2009, 12:13 PM

Post #2 of 3 (613 views)
Permalink
Re: gpg: key generation failed: Card error [In reply to]

* markus reichelt <ml [at] mareichelt> wrote:

> gpg: key generation failed: Card error
> Key generation failed: Card error
>
> That's on a stock Slackware 13 system, gpg (GnuPG) 2.0.12,
> libgcrypt 1.4.4 with OMNIKEY CardMan 4040 v1.1.0gm5.

Okay, after much cursing omnikey I finally was successful in creating
keys on the smartcard using the SCR3310 smartcard reader. Someone
suggested updating to current gpg2 (2.0.13), that was the key to it
all.

Strangely the crappy omnicard reader has no problems at all reading
keys stored on the card. Still, I cannot recommend omnikey at all.

One question popped up in my mind on several occasions: V2 smartcards
supposedly cannot be bricked. So, how is the reset done exactly?

--
left blank, right bald


dshaw at jabberwocky

Nov 21, 2009, 6:26 PM

Post #3 of 3 (612 views)
Permalink
Re: gpg: key generation failed: Card error [In reply to]

On Nov 21, 2009, at 3:13 PM, markus reichelt wrote:

> * markus reichelt <ml [at] mareichelt> wrote:
>
>> gpg: key generation failed: Card error
>> Key generation failed: Card error
>>
>> That's on a stock Slackware 13 system, gpg (GnuPG) 2.0.12,
>> libgcrypt 1.4.4 with OMNIKEY CardMan 4040 v1.1.0gm5.
>
> Okay, after much cursing omnikey I finally was successful in creating
> keys on the smartcard using the SCR3310 smartcard reader. Someone
> suggested updating to current gpg2 (2.0.13), that was the key to it
> all.
>
> Strangely the crappy omnicard reader has no problems at all reading
> keys stored on the card. Still, I cannot recommend omnikey at all.
>
> One question popped up in my mind on several occasions: V2 smartcards
> supposedly cannot be bricked. So, how is the reset done exactly?

Here are instructions:

http://lists.gnupg.org/pipermail/gnupg-users/2009-September/037413.html

David


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.