mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:10:00 -04:00
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:
parent
7e0318df85
commit
008d3d2a9c
1 changed files with 8 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue