diff options
author | Rob Austein <sra@hactrn.net> | 2008-05-30 17:28:12 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-05-30 17:28:12 +0000 |
commit | ba16ed27191ae62d0ac993910cc0429b3eea9931 (patch) | |
tree | a23a5b1bb22ac401af523c2cdc61cf37bf9d0d29 /rpkid/rpki/left_right.py | |
parent | 70b554a2fb041a11bdeb59c82e3f05f8a67f2aaa (diff) |
Initial version of publication protocol and pubd seem to be working.
Not yet seriously tested. BPKI CRLs not right yet.
svn path=/rpkid/README; revision=1832
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r-- | rpkid/rpki/left_right.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index b44fa547..64519fbf 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -569,7 +569,7 @@ class repository_elt(data_elt): bpki_https_cert = None bpki_https_glue = None - use_pubd = False + use_pubd = True def parents(self): """Fetch all parent objects that link to this repository object.""" @@ -651,7 +651,6 @@ class repository_elt(data_elt): url = self.peer_contact_uri, msg = q_cms) r_msg = rpki.publication.cms_msg.unwrap(r_cms, bpki_ta_path) - r_msg.payload_check_response() assert len(r_msg) == 1 return r_msg[0] @@ -669,7 +668,7 @@ class repository_elt(data_elt): rpki.log.trace() rpki.log.info("Withdrawing %s from at %s" % (repr(obj), repr(uri))) if self.use_pubd: - self.call_pubd(rpki.publication.obj2elt[obj].make_pdu(action = "withdraw", uri = uri)) + self.call_pubd(rpki.publication.obj2elt[type(obj)].make_pdu(action = "withdraw", uri = uri)) else: self.object_delete(self.gctx.publication_kludge_base, uri) |