]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change NSEC3 iterations to 0 in system tests
authorMatthijs Mekking <matthijs@isc.org>
Wed, 22 Nov 2023 11:32:55 +0000 (12:32 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 5 Dec 2023 14:58:58 +0000 (14:58 +0000)
commit3c08fbc79fd3047ac8cba8e82d3be7d1efce2c2f
tree7715b72aa959e85632db81c53c4559ddbb3adc1e
parent75e0d394dd2147a0b07524521c084a71801e4eee
Change NSEC3 iterations to 0 in system tests

The system tests need to be updated because non-zero iterations are no
longer accepted.

The autosign system test changes its iterations from 1 to 0 in one
test case. This requires the hash to be updated.

The checkconf system test needs to change the iterations in the good
configuration files to 0, and in the bad ones to 1 (any non-zero value
would suffice, but we test the corner case here). Also, the expected
failure message is change, so needs to be adjusted.

The nsec3 system test also needs iteration configuration adjustments.
In addition, the test script no longer needs the ITERATIONS environment
variable.

In the process of updating the system tests, I noticed an error
in the dnssec-policy "nsec3-other", where the salt length in one
configuration file is different than in the other (they need to be
the same). Furthermore, the 'rndc signing -nsec3param' test case
is operated on the zone 'nsec-change.kasp', so is moved so that the
tests on the same zone are grouped together.
bin/tests/system/autosign/ns2/named.conf.in
bin/tests/system/autosign/tests.sh
bin/tests/system/checkconf/good-kasp.conf
bin/tests/system/checkconf/good-key-directory.conf
bin/tests/system/checkconf/kasp-bad-nsec3-iter-fips.conf
bin/tests/system/checkconf/kasp-bad-nsec3-iter.conf
bin/tests/system/checkconf/tests.sh
bin/tests/system/nsec3/ns3/named-fips.conf.in
bin/tests/system/nsec3/ns3/named2-fips.conf.in
bin/tests/system/nsec3/tests.sh