Page MenuHome GnuPG

01-disable-rmd160-sha1-on-decrypt

Authored By
jukivili
Feb 11 2018, 1:32 PM
Size
810 B
Subscribers
None

01-disable-rmd160-sha1-on-decrypt

disable rmd160/sha1 on decrypt (old GPG LITERAL+SIG case???)
From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
---
g10/mainproc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g10/mainproc.c b/g10/mainproc.c
index f2a28df74..dc4244a08 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -858,8 +858,8 @@ proc_plaintext( CTX c, PACKET *pkt )
according to 2440, so hopefully it won't come up that often.
There is no good way to specify what algorithms to use in
that case, so these there are the historical answer. */
- gcry_md_enable (c->mfx.md, DIGEST_ALGO_RMD160);
- gcry_md_enable (c->mfx.md, DIGEST_ALGO_SHA1);
+// gcry_md_enable (c->mfx.md, DIGEST_ALGO_RMD160);
+// gcry_md_enable (c->mfx.md, DIGEST_ALGO_SHA1);
}
if (DBG_HASHING)
{

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135795

Event Timeline