diff options
author | Rob Austein <sra@hactrn.net> | 2007-10-09 19:18:11 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-10-09 19:18:11 +0000 |
commit | d0ef5e6204d5f357d14e20a8779e74d86bb8cab1 (patch) | |
tree | ff2d1bc8247d1acbafd5d7423f0c3b975847df3e /scripts/manifests.py | |
parent | e7b42b6d2210f8001637758012a24faa70b8aaac (diff) |
Debug manifest encoding
svn path=/scripts/manifests.py; revision=1136
Diffstat (limited to 'scripts/manifests.py')
-rw-r--r-- | scripts/manifests.py | 6 |
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() |