Commit b9276cdb authored by Valentin Samir's avatar Valentin Samir
Browse files

During ZSK cron routine, only care for activate ZSK (add ignore for inactive ones)

parent 4b0b6041
......@@ -128,7 +128,7 @@ class Zone(object):
def do_zsk(self):
"""Perform daily routine on ZSK keys (generate new keys, delete old ones...)"""
for zsk in self.ZSK:
if zsk.is_activate:
if zsk.is_activate and not zsk.is_inactive:
zsk.inactive = zsk.activate + ZSK_VALIDITY
zsk.delete = zsk.inactive + INTERVAL
last_activate_zsk = zsk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment