]> 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 03:32:14 +0000 (03:32 +0000)
As the expiration time is now+1 the RRSIG records may expire before
the verification step happens.

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

index a66e81c22fd2df079c5e6eb76ff6a803de0c9425..b9d2ed72d31493aba7a28d530f01ca1a585efa82 100644 (file)
@@ -38,7 +38,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
 id=$(keyfile_to_key_id "$ksk8")
 echo "8+$id" >manykeys.ksk8.id
 id=$(keyfile_to_key_id "$zsk8")