
flameeyes at gmail
Sep 27, 2010, 10:04 AM
Post #1 of 4
(305 views)
Permalink
|
|
[PATCH] Allow SHA2 hash functions on gnupg 2 with scdaemon
|
|
Hi, I'm attaching a patch that implement support for the SHA2 hash functions in GnuPG 2 when using scdaemon. A similar issue was reported and fixed (although in a different, IMHO less optimal, way) in early 2010 [1] but the same issue held true for GnuPG 2. Without this patch, if ~/.gnupg/gpg.conf contains these lines: personal-digest-preferences SHA256 cert-digest-algo SHA256 default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed then a sign action would report this: gpg: checking created signature failed: Bad signature gpg: signing failed: Bad signature gpg: [stdin]: clearsign failed: Bad signature after applying the patch.. well, this email is signed, I hope :) As it is, it applies fine over 2.0.16 and svn branch. HTH, [1] http://www.gossamer-threads.com/lists/gnupg/users/51293 -- 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/
|