From f5a7a68a4ccae8fc67fe59dce97a8f1769fbcbd9 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 30 Jan 2015 22:17:11 +0100 Subject: [PATCH] Verbose mode added --- bin/x509/dumpx509subject.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/x509/dumpx509subject.py b/bin/x509/dumpx509subject.py index 7c57616..4ed889f 100644 --- a/bin/x509/dumpx509subject.py +++ b/bin/x509/dumpx509subject.py @@ -65,6 +65,8 @@ for cert in fileinput.input(args.r): f = open(fn, 'w+') f.write(certb) f.close() + if args.v: + print "Certificate saved in " +fn try: x509 = X509.load_cert_string(certb, X509.FORMAT_DER)