From b1e8d92948f55489fe26326a4e4136c7dc7ccb96 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 5 Dec 2007 23:31:51 +0000 Subject: Clear control options when generating replies. Slightly better verbose CMS logging svn path=/scripts/biz-certs/Bob-CA.srl; revision=1365 --- scripts/rpki/cms.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/rpki/cms.py') diff --git a/scripts/rpki/cms.py b/scripts/rpki/cms.py index 8e14047d..2601f42b 100644 --- a/scripts/rpki/cms.py +++ b/scripts/rpki/cms.py @@ -54,7 +54,7 @@ def sign(plaintext, keypair, certs): if debug >= 2: print - print "CMS dump:" + print "Signed CMS:" dumpasn1(cms) return cms @@ -68,6 +68,11 @@ def verify(cms, ta): anything other than successful verification, we raise an exception. """ + if debug >= 2: + print + print "Verifying CMS:" + dumpasn1(cms) + ta_filename = "cms.tmp.ta.pem" f = open(ta_filename, "w") -- cgit v1.2.3