Signing with SHA256 by Smartcard?

Diego Elio Pettenò flameeyes at gmail.com
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:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-crypt/gnupg/files/gnupg-2.0.16-opengpgv2-sha2.patch?revision=1.1&view=markup


-- 
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/

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




More information about the Gnupg-devel mailing list