Test rndc sign updates the signatures

Add a check to the ZSK rollover test case that ensures the zone is
signed with the successor key only, after a 'rndc sign' is commanded.
This commit is contained in:
Matthijs Mekking 2025-08-19 12:42:35 +02:00
parent 7e0318df85
commit 008d3d2a9c

View file

@ -222,6 +222,14 @@ def test_zsk_prepub_step3(tld, alg, size, ns3):
}
isctest.kasp.check_rollover_step(ns3, CONFIG, policy, step)
# Force full resign and check all signatures have been replaced.
with ns3.watch_log_from_here() as watcher:
ns3.rndc(f"sign {zone}", log=False)
watcher.wait_for_line(f"zone {zone}/IN (signed): sending notifies")
step["smooth"] = False
isctest.kasp.check_rollover_step(ns3, CONFIG, POLICY, step)
@pytest.mark.parametrize(
"tld",