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

Mailing List Archive: GnuPG: users

Re: SHA2 in OpenPGP cards?

 

 

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


simon at josefsson

Oct 4, 2009, 11:52 PM

Post #1 of 1 (488 views)
Permalink
Re: SHA2 in OpenPGP cards?

Werner Koch <wk [at] gnupg> writes:

> On Tue, 29 Sep 2009 09:46, simon [at] josefsson said:
>> Hi! Before I spend time testing it, can the OpenPGP card support
>> RSA-SHA2 signatures?
>
> The v2 cards support any hash agorithm as long as they fit into pkcs#1.

When I attempt to generate a new key on the card with this in my
~/.gnupg/gpg.conf:

personal-digest-preferences SHA256
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed

I get this error:

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: checking created signature failed: Bad signature
gpg: signing failed: Bad signature
gpg: make_keysig_packet failed: Bad signature
Key generation failed: Bad signature

When I comment out the three lines above, it worked fine. Any ideas?

GnuPG 2.0.13 from Debian.

/Simon

_______________________________________________
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.