diff options
Diffstat (limited to 'rpkid')
-rw-r--r-- | rpkid/test-pow-cms.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/rpkid/test-pow-cms.py b/rpkid/test-pow-cms.py index 12f73971..d9d62294 100644 --- a/rpkid/test-pow-cms.py +++ b/rpkid/test-pow-cms.py @@ -54,19 +54,6 @@ for args in ((ee, key, [ca], plaintext, oid), cms.sign(*args) if True: - f = open("test-pow-cms.der", "w") - f.write(cms.derWrite()) - f.close() - if True: - f = os.popen("dumpasn1 2>&1 -a test-pow-cms.der") - print "\n".join(x for x in f.read().splitlines() if x.startswith(" ")) - f.close() - if True: - os.unlink("test-pow-cms.der") + print cms.pprint() - if True: - f = os.popen("../openssl/openssl/apps/openssl cms -print -cmsout -inform DER", "w") - f.write(cms.derWrite()) - f.close() - cms.verify(store, [ee]) |