Skip to content
Snippets Groups Projects
Commit 60c5ed71 authored by Libor Peltan's avatar Libor Peltan
Browse files

test: Bind9 now decreases ksk-lifetime by TWICE dnskey-ttl

parent e53e5ab3
No related branches found
No related tags found
1 merge request!1693tests-extra: compatibility with Bind9 9.18.28+
Pipeline #128202 passed
......@@ -74,7 +74,7 @@ def knot_dnskey_checks(t, msg, zones, timeout):
def clone_policy(zone):
knot.zones[zone.name].dnssec = copy.copy(bind.zones[zone.name].dnssec)
knot.zones[zone.name].dnssec.ksk_lifetime -= int(knot.zones[zone.name].dnssec.dnskey_ttl)
knot.zones[zone.name].dnssec.ksk_lifetime -= 2 * int(knot.zones[zone.name].dnssec.dnskey_ttl)
def knot_import_zone(zone):
if zone.name not in knot.zones:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment