SHA2 in OpenPGP cards?

Simon Josefsson simon at josefsson.org
Wed Sep 30 14:19:43 CEST 2009


Werner Koch <wk at gnupg.org> writes:

> On Tue, 29 Sep 2009 09:46, simon at josefsson.org 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.

Ok thanks.  Is there any problem sending the future SHA-3 hashes in the
PKCS#1 struct too?  Does the smartcard validate the PKCS#1 data in any
way before signing it?  I'm thinking also of the ad-hoc MD5/SHA1 data
used by TLS, it doesn't follow PKCS#1 format.

/Simon



More information about the Gnupg-devel mailing list