]> git.ipfire.org Git - thirdparty/bind9.git/commit
rollover-going-insecure: From setup.sh to pytest bootstrap
authorMatthijs Mekking <matthijs@isc.org>
Fri, 28 Nov 2025 09:43:42 +0000 (10:43 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 19 Dec 2025 10:47:50 +0000 (11:47 +0100)
commitcc4244f38411cfb67aed6467994ac85002ac8756
tree26e8b9bc854863eeed716eacb500531bae4f21f6
parentef2a824df68c06344d210c9dda17cb5177e31961
rollover-going-insecure: From setup.sh to pytest bootstrap

Symlink ns1 and ns2 to rollover/ns1 and rollover/ns2.
Symlink ns3/template.db.j2.manual to rollover/ns3/template.db.j2.manual.

Since the bootstrapping is done before the templates are rendered
automatically, replace @DEFAULT_ALGORITHM@ in ns3/kasp.conf.j2 to
ecdsa256 and rename to ns3/kasp.conf.

Now we have to fake different lifetimes, so adjust fake_lifetime
to update a single key.

Note that we have changed the setup slightly: We also sign the
step2 zones, but with post validation disabled. This is more
accurate because we need to test that the public keys and signatures
are being removed from the zone.
bin/tests/system/rollover-going-insecure/ns1 [new symlink]
bin/tests/system/rollover-going-insecure/ns2 [new symlink]
bin/tests/system/rollover-going-insecure/ns3/kasp.conf [moved from bin/tests/system/rollover-going-insecure/ns3/kasp.conf.j2 with 78% similarity]
bin/tests/system/rollover-going-insecure/ns3/template.db.in [deleted symlink]
bin/tests/system/rollover-going-insecure/ns3/template.db.j2.manual [new symlink]
bin/tests/system/rollover-going-insecure/ns3/trusted.conf.j2 [new symlink]
bin/tests/system/rollover-going-insecure/setup.sh [deleted file]
bin/tests/system/rollover-going-insecure/tests_rollover_going_insecure_initial.py
bin/tests/system/rollover-going-insecure/tests_rollover_going_insecure_reconfig.py
bin/tests/system/rollover/setup.py