aboutsummaryrefslogtreecommitdiff
path: root/scripts/manifests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/manifests.py')
-rw-r--r--scripts/manifests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/manifests.py b/scripts/manifests.py
index a48928f8..5ea6f924 100644
--- a/scripts/manifests.py
+++ b/scripts/manifests.py
@@ -14,14 +14,14 @@ now = time.time()
mani = rpki.manifest.Manifest()
mani.set((0, # version
17, # manifestNumber
- POW.pkix.time2utc(now), # thisUpdate
- POW.pkix.time2utc(now + 24*60*60), # nextUpdate
+ POW.pkix.time2gen(now), # thisUpdate
+ POW.pkix.time2gen(now + 24*60*60), # nextUpdate
(2, 16, 840, 1, 101, 3, 4, 2, 1), # id-sha256
[onefile(i) for i in glob.glob("resource-cert-samples/*.cer")]))
print mani.get()
-if False:
+if True:
f = open("manifests.out.der", "w")
f.write(mani.toString())
f.close()