OpenPGP card and signing

Michael Bienia michael at vorlon.ping.de
Tue Mar 14 23:42:52 CET 2006


On 2006-03-14 08:23:58 +0100, Remco Post wrote:
> Michael Bienia wrote:
> > Hello,
> > 
> > does signing with the OpenPGP card only work with SHA1 as digest-algo?
> > 
> > With SHA1 and RIPEMD160 gpg asks for the PIN but only SHA1 generates a
> > working signature. Trying RIPEMD160 I get:
> > | gpg: checking created signature failed: bad signature
> > | gpg: signing failed: bad signature
> > | gpg: signing failed: bad signature
> > 
> 
> From the basiccard website I read that it only supports sha-1, so this
> might be true. I noticed the same just recently.

A friend who uses his OpenPGP card with enigmail under windows can
successfully create a RIPEMD160 signature.
I could also create one if I use gpg with pcscd.

Can someone explain me, why it works if I use gpg with pcscd and not if
I use gpg alone?

Michael



More information about the Gnupg-users mailing list