]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix install of trust anchor when two anchors are present, makes both
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 21 Aug 2017 08:57:44 +0000 (08:57 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 21 Aug 2017 08:57:44 +0000 (08:57 +0000)
  valid.  Checks hash of DS but not signature of new key.  This fixes
  installs between sep11 and oct11 2017.

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

doc/Changelog
validator/autotrust.c

index 12af05557e55b203a66dac73ae20fd242fe4958c..5b0bc011566bc681858321f2dac90b5f791c482f 100644 (file)
@@ -1,3 +1,10 @@
+22 August 2017: Wouter
+       - Fix install of trust anchor when two anchors are present, makes both
+         valid.  Checks hash of DS but not signature of new key.  This fixes
+         installs between sep11 and oct11 2017.
+       - tag 1.6.5 with pointrelease 1.6.5 (1.6.4 plus 5011 fix).
+       - trunk version 1.6.6 in development.
+
 10 August 2017: Wouter
        - Patch to show DNSCrypt status in help output, from Carsten
          Strotmann.
index a533733c7a676b0ab9fdb5c6b8d821e8994d82a0..5bf815b5ec12615c4ace280a70b443d9ff034166 100644 (file)
@@ -1571,6 +1571,11 @@ key_matches_a_ds(struct module_env* env, struct val_env* ve,
                        verbose(VERB_ALGO, "DS match attempt failed");
                        continue;
                }
+               /* match of hash is sufficient for bootstrap of trust point */
+               (void)reason;
+               (void)ve;
+               return 1;
+               /* no need to check RRSIG, DS hash already matched with source
                if(dnskey_verify_rrset(env, ve, dnskey_rrset, 
                        dnskey_rrset, key_idx, &reason) == sec_status_secure) {
                        return 1;
@@ -1578,6 +1583,7 @@ key_matches_a_ds(struct module_env* env, struct val_env* ve,
                        verbose(VERB_ALGO, "DS match failed because the key "
                                "does not verify the keyset: %s", reason);
                }
+               */
        }
        return 0;
 }