]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable post zone verification for manykeys
authorMark Andrews <marka@isc.org>
Wed, 19 Jun 2024 02:45:09 +0000 (12:45 +1000)
committerMark Andrews <marka@isc.org>
Wed, 31 Jul 2024 05:04:31 +0000 (15:04 +1000)
As the expiration time is now+1 the RRSIG records may expire before
the verification step happens.

(cherry picked from commit 0d69afd764f4fcd390d8c4ed7a7bf6ef1d8ae501)

bin/tests/system/statschannel/ns2/sign.sh

index d2da0128feb12d8b2b27e626f86ec367bc485132..558215d0dc1ae299dca0cba498442ac60f0c9193 100644 (file)
@@ -36,7 +36,8 @@ zsk13=$("$KEYGEN" -q -a ECDSAP256SHA256 -L 3600 -b 256 "$zone")
 ksk14=$("$KEYGEN" -q -a ECDSAP384SHA384 -L 3600 -b 384 -f KSK "$zone")
 zsk14=$("$KEYGEN" -q -a ECDSAP384SHA384 -L 3600 -b 384 "$zone")
 # Sign deliberately with a very short expiration date.
-"$SIGNER" -S -x -O full -e "now"+1s -o "$zone" -f "$zonefile" "$infile" >"signzone.out.$zone" 2>&1
+# Disable zone verification (-P) as records may expire before signing is complete
+"$SIGNER" -P -S -x -O full -e "now"+1s -o "$zone" -f "$zonefile" "$infile" >"signzone.out.$zone" 2>&1
 keyfile_to_key_id "$ksk8" >manykeys.ksk8.id
 keyfile_to_key_id "$zsk8" >manykeys.zsk8.id
 keyfile_to_key_id "$ksk13" >manykeys.ksk13.id