Signing with SHA256 by Smartcard?

Diego Elio Pettenò flameeyes at
Sun Nov 14 13:28:11 CET 2010

Il giorno dom, 14/11/2010 alle 20.53 +0900, NIIBE Yutaka ha scritto:
> But, it seems that GnuPG does not support SHA256 DigestInfo for
> SmartCard
> well.  Yes, the function cmd_pksign in scd/command.c has support of
> option like: --hash=XXX.  But, caller side function agent_card_pksign
> in agent/call-scd.c doesn't use this option at all.
I can get SHA-2 functions signing fine with a patched GnuPG 2.0.16; the
2.0.16 release is not working, but you can get either the trunk or the
following patch to do the trick:

Diego Elio Pettenò — “Flameeyes”

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature:

More information about the Gnupg-devel mailing list