git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af4fd7
)
DKIM: under GnuTLS, permit weak algorithms
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 28 May 2021 19:04:44 +0000
(20:04 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 3 Jun 2021 22:44:31 +0000
(23:44 +0100)
Recent versions of GnuTLS by default disallow use of some methods now regarded as
weak. This probably mean sha1, which is deprecated per DKIM standards.
src/src/pdkim/signing.c
patch
|
blob
|
history
diff --git
a/src/src/pdkim/signing.c
b/src/src/pdkim/signing.c
index f63ba449eff1fbbbd6b87a5905697d274af70d9f..d818fc9df0de02272b656eb7beeed0c4261145d1 100644
(file)
--- a/
src/src/pdkim/signing.c
+++ b/
src/src/pdkim/signing.c
@@
-219,7
+219,8
@@
else
default: return US"nonhandled hash type";
}
- if ((rc = gnutls_pubkey_verify_hash2(verify_ctx->key, algo, 0, &k, &s)) < 0)
+ if ((rc = gnutls_pubkey_verify_hash2(verify_ctx->key, algo,
+ GNUTLS_VERIFY_ALLOW_BROKEN, &k, &s)) < 0)
ret = US gnutls_strerror(rc);
}