clearsign failed: Bad signature

David Shaw dshaw at
Mon Dec 20 00:16:54 CET 2010

On Dec 17, 2010, at 11:22 AM, Chris Ruff wrote:

> On Sat, 2010-12-11 at 14:57 +0100, Olav Seyfarth wrote:
>> My key: OpenPGP SmartCard v2 key 0x6AE1EF56 (3072 Bit RSA) Card 0005 00000222
>> Why can't I use SHA256/SHA512 with this card?
>> | enable-dsa2
>> is set and showpref lists
> The documentation for OpenPGP v2 smartcard states that only RIPEMD-160 &
> SHA-1 are supported as a digest algorithm at this point in time.  You'll
> have to change your digest prefs accordingly to use the card.
> excert from doc:
> "Cards with Version < 2.0 sup port RIPEMD-160 and SHA-1 only and may
> check it, so other hash algorithms cannot be
> used."
> Although I assume it should say =<2.0.  Feedback from others if this was
> a typo in teh doc and should be =<2.0?

That is not a typo.  The v2 card works just fine with other algorithms.  If it isn't working for you, then there may be an issue, but it is not related to the fact that you are using a v2 card.


More information about the Gnupg-users mailing list