aboutsummaryrefslogtreecommitdiff
path: root/rpki/rpkid_tasks.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-11-12 22:53:44 +0000
committerRob Austein <sra@hactrn.net>2015-11-12 22:53:44 +0000
commit94fde7b46a70653dc92f18c345b6fa27ffdec0ce (patch)
treefca6c6c8196d2cfc80efc3771311490af1c54afe /rpki/rpkid_tasks.py
parent61a3d8a132af9906e85214d1f29e8552dd1b9e8e (diff)
Clean up silly automatic-CRL-and-MFT-regeneration-except-when-its-not
hacks: in practice, we always bypassed it (except when we forgot...). Make sure we revoke and withdraw the old certs and objects for ROAs and Ghostbusters rather than the new ones during forced reissue. svn path=/branches/tk705/; revision=6171
Diffstat (limited to 'rpki/rpkid_tasks.py')
-rw-r--r--rpki/rpkid_tasks.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpki/rpkid_tasks.py b/rpki/rpkid_tasks.py
index bfde9035..8d584f2f 100644
--- a/rpki/rpkid_tasks.py
+++ b/rpki/rpkid_tasks.py
@@ -406,7 +406,7 @@ class UpdateROAsTask(AbstractTask):
yield self.postpone()
roa = updates.pop(0)
try:
- roa.update(publisher = self.publisher, fast = True)
+ roa.update(publisher = self.publisher)
self.ca_details.add(roa.ca_detail)
except rpki.exceptions.NoCoveringCertForROA:
logger.warning("%r: No covering certificate for %r, skipping", self, roa)
@@ -416,7 +416,7 @@ class UpdateROAsTask(AbstractTask):
for roa in orphans:
try:
self.ca_details.add(roa.ca_detail)
- roa.revoke(publisher = self.publisher, fast = True)
+ roa.revoke(publisher = self.publisher)
except:
logger.exception("%r: Could not revoke %r", self, roa)
@@ -483,13 +483,13 @@ class UpdateGhostbustersTask(AbstractTask):
logger.debug("%r: Created new %r for %r", self, ghostbuster, r_pdu.get("parent_handle"))
else:
logger.debug("%r: Found existing %r for %r", self, ghostbuster, r_pdu.get("parent_handle"))
- ghostbuster.update(publisher = publisher, fast = True)
+ ghostbuster.update(publisher = publisher)
ca_details.add(ca_detail)
orphans.extend(ghostbusters.itervalues())
for ghostbuster in orphans:
ca_details.add(ghostbuster.ca_detail)
- ghostbuster.revoke(publisher = publisher, fast = True)
+ ghostbuster.revoke(publisher = publisher)
for ca_detail in ca_details:
ca_detail.generate_crl_and_manifest(publisher = publisher)