From f284e73a913b71bc6fccd609c145e3d9d14dce2f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 16 Apr 2013 20:24:08 +0000 Subject: Restrict use of rpkid.self.regen_margin to certificate regeneration, sharing a single regeneration interval value between certificates and CRLs just doesn't work, and we can infer the CRL regeneration interval from crl_interval. Change default value of regen_margin to something consistent with human-time-scale expectations and the GUI's impending expiration warning interval. See #347 and #512. svn path=/trunk/; revision=5297 --- rpkid/tests/yamlconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpkid/tests/yamlconf.py') diff --git a/rpkid/tests/yamlconf.py b/rpkid/tests/yamlconf.py index ac1c3292..b903d716 100644 --- a/rpkid/tests/yamlconf.py +++ b/rpkid/tests/yamlconf.py @@ -128,7 +128,7 @@ class allocation_db(list): self.root = allocation(y, self) assert self.root.is_root if self.root.crl_interval is None: - self.root.crl_interval = 24 * 60 * 60 + self.root.crl_interval = 60 * 60 if self.root.regen_margin is None: self.root.regen_margin = 24 * 60 * 60 if self.root.base.valid_until is None: -- cgit v1.2.3