]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- patch_rsamd5_enable.diff: this patch enables RSAMD5 validation
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Sep 2012 13:15:12 +0000 (13:15 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Sep 2012 13:15:12 +0000 (13:15 +0000)
  otherwise it is treated as insecure.  The RSAMD5 algorithm is
  deprecated (RFC6725).  The MD5 hash is considered weak for some
  purposes, if you want to sign your zone, then RSASHA256 is an
  uncontested hash.

git-svn-id: file:///svn/unbound/trunk@2760 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/README
contrib/patch_rsamd5_enable.diff [new file with mode: 0644]
doc/Changelog

index 19abd054401a9cb8745820e1ef2f712ee5abdcfe..943ce526461da378be75b4fafe8e5ecfbc19fdc4 100644 (file)
@@ -17,3 +17,5 @@ distribution but may be helpful.
        in with the nagios monitoring framework.  Contributed by Migiel de Vos.
 * unbound_unixsock.diff: Add Unix socket support for unbound-control. 
        Contributed by Ilya Bakulin, 2012-08-28.
+* patch_rsamd5_enable.diff: this patch enables RSAMD5 validation (otherwise
+  it is treated as insecure).  The RSAMD5 algorithm is deprecated (RFC6725).
diff --git a/contrib/patch_rsamd5_enable.diff b/contrib/patch_rsamd5_enable.diff
new file mode 100644 (file)
index 0000000..dfd4a7b
--- /dev/null
@@ -0,0 +1,22 @@
+Index: validator/val_secalgo.c
+===================================================================
+--- validator/val_secalgo.c    (revision 2759)
++++ validator/val_secalgo.c    (working copy)
+@@ -153,7 +153,7 @@
+       switch(id) {
+       case LDNS_RSAMD5:
+               /* RFC 6725 deprecates RSAMD5 */
+-              return 0;
++              return 1;
+       case LDNS_DSA:
+       case LDNS_DSA_NSEC3:
+       case LDNS_RSASHA1:
+@@ -617,7 +617,7 @@
+       switch(id) {
+       case LDNS_RSAMD5:
+               /* RFC 6725 deprecates RSAMD5 */
+-              return 0;
++              return 1;
+       case LDNS_DSA:
+       case LDNS_DSA_NSEC3:
+       case LDNS_RSASHA1:
index f655cb697b07890c3a10bd9a0c0ba8b438477d56..629749839c473f881ed79b4b5de472411b16a7e9 100644 (file)
@@ -1,3 +1,10 @@
+17 September 2012: Wouter
+       - patch_rsamd5_enable.diff: this patch enables RSAMD5 validation
+         otherwise it is treated as insecure.  The RSAMD5 algorithm is
+         deprecated (RFC6725).  The MD5 hash is considered weak for some
+         purposes, if you want to sign your zone, then RSASHA256 is an
+         uncontested hash.
+
 30 August 2012: Wouter
        - RFC6725 deprecates RSAMD5: this DNSKEY algorithm is disabled.
        - iana portlist updated.