From 41e89b412f7beb2c9d829495afdd92bb58f80c46 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 12 Nov 2014 00:25:21 +0000 Subject: Initial (awful kludge) version of adding RRDP URIs to SIA extension. This needs rewriting, but doing it properly requires a minor database schema change, and I'm trying to get a test case running by tomorrow morning. svn path=/branches/tk705/; revision=6015 --- rpki/rpkid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rpki/rpkid.py') diff --git a/rpki/rpkid.py b/rpki/rpkid.py index 64157663..cc7fbc5b 100644 --- a/rpki/rpkid.py +++ b/rpki/rpkid.py @@ -1184,7 +1184,7 @@ class ca_detail_obj(rpki.sql.sql_persistent): ca = self.ca, resources = resources, subject_key = self.manifest_public_key, - sia = (None, None, self.manifest_uri)) + sia = (None, None, self.manifest_uri, rpki.publication.rrdp_sia_uri_kludge)) def issue(self, ca, child, subject_key, sia, resources, publisher, child_cert = None): """ @@ -1948,7 +1948,7 @@ class roa_obj(rpki.sql.sql_persistent): ca = ca, resources = resources, subject_key = keypair.get_public(), - sia = (None, None, self.uri_from_key(keypair))) + sia = (None, None, self.uri_from_key(keypair), rpki.publication.rrdp_sia_uri_kludge)) self.roa = rpki.x509.ROA.build(self.asn, self.ipv4, self.ipv6, keypair, (self.cert,)) self.published = rpki.sundial.now() self.sql_store() @@ -2158,7 +2158,7 @@ class ghostbuster_obj(rpki.sql.sql_persistent): ca = ca, resources = resources, subject_key = keypair.get_public(), - sia = (None, None, self.uri_from_key(keypair))) + sia = (None, None, self.uri_from_key(keypair), rpki.publication.rrdp_sia_uri_kludge)) self.ghostbuster = rpki.x509.Ghostbuster.build(self.vcard, keypair, (self.cert,)) self.published = rpki.sundial.now() self.sql_store() -- cgit v1.2.3