]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't rely on smart signing in cds system test 12265/head
authorMatthijs Mekking <matthijs@isc.org>
Thu, 18 Jun 2026 08:42:10 +0000 (10:42 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 19 Jun 2026 08:34:54 +0000 (08:34 +0000)
With dnssec-signzone smart-signing (-S), the CDS and CDSNKEY are
derived from the key timing metadata and the configuration options (-G).

The test has specific test cases that smart signing (with the fix)
interferes with. Therefor, disable smart-signing in the cds system test.

bin/tests/system/cds/setup.sh

index 27474bcc0a5323604d45a63a926b2be583bd6e63..842c9c1402afe57134566af9909ecd62c84ecbba 100644 (file)
@@ -87,8 +87,9 @@ sed 's/ add \(.*\) IN DS / add \1 3600 IN DS /' <UP.swap >UP.swapttl
 
 sign() {
   cat >db.$1
+  cat $keyz.key $key1.key $key2.key >>db.$1
   $SIGNER >/dev/null \
-    -S -O full -o $Z -f sig.$1 db.$1
+    -O full -o $Z -f sig.$1 db.$1 $keyz $key1 $key2
 }
 
 sign null <<EOF