From 692a976a5197930ee0c9e0b5dec6f9c3bb721456 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 26 Jan 2008 02:46:31 +0000 Subject: Implement "rekey" and "revoke" left-right controls svn path=/scripts/manifests.py; revision=1509 --- scripts/rpki/x509.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/rpki/x509.py') diff --git a/scripts/rpki/x509.py b/scripts/rpki/x509.py index d61b8449..4d902351 100644 --- a/scripts/rpki/x509.py +++ b/scripts/rpki/x509.py @@ -623,7 +623,7 @@ class SignedManifest(DER_object): m.fromString(s) self.content = m - def build(self, serial, nextUpdate, names_and_objs, keypair, certs, version = 0): + def build(self, serial, thisUpdate, nextUpdate, names_and_objs, keypair, certs, version = 0): """Build the inner content of this manifest and sign it with CMS.""" filelist = [] for name, obj in names_and_objs: @@ -634,7 +634,7 @@ class SignedManifest(DER_object): m = rpki.manifest.Manifest() m.version.set(version) m.manifestNumber.set(serial) - m.thisUpdate.set(rpki.sundial.datetime.utcnow().toGeneralizedTime()) + m.thisUpdate.set(thisUpdate.toGeneralizedTime()) m.nextUpdate.set(nextUpdate.toGeneralizedTime()) m.fileHashAlg.set((2, 16, 840, 1, 101, 3, 4, 2, 1)) # id-sha256 m.fileList.set(filelist) -- cgit v1.2.3