aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests/yamltest.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-04-16 20:24:08 +0000
committerRob Austein <sra@hactrn.net>2013-04-16 20:24:08 +0000
commitf284e73a913b71bc6fccd609c145e3d9d14dce2f (patch)
tree60b9760a01bcdca850d1fe381f719249237e4754 /rpkid/tests/yamltest.py
parent4e9ce1785929656eeef7eb8af270213c8869a1c6 (diff)
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
Diffstat (limited to 'rpkid/tests/yamltest.py')
-rw-r--r--rpkid/tests/yamltest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py
index ae8a1293..1e9256e3 100644
--- a/rpkid/tests/yamltest.py
+++ b/rpkid/tests/yamltest.py
@@ -127,7 +127,7 @@ class allocation_db(list):
self.root = allocation(yaml, 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: