From 0a539942e5a94818abedf3adf2090b57f6b92bc2 Mon Sep 17 00:00:00 2001 From: Josef Gustafsson Date: Thu, 17 Sep 2015 13:58:51 +0200 Subject: finding nice script for verifying SCT, requires openssl 1.0.2 --- monitor/josef_monitor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'monitor/josef_monitor.py') diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index aacc59c..97092bc 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -266,11 +266,9 @@ def verify_inclusion_by_hash(base_url, leaf_hash): return True else: print time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for entry " + str(proof["leaf_index"]) + " in " + base_url - errors.append(time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for entry " + str(proof["leaf_index"]) + " in " + base_url) return False except: print time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for hashed entry in " + base_url - errors.append(time.strftime('%H:%M:%S') + " ERROR: Could not prove inclusion for hashed entry in " + base_url) return False def verify_inclusion_by_index(base_url, index): @@ -343,7 +341,7 @@ def main(args): logs = [] try: for item in ctlogs: - logs.append(ctlog(item, ctlogs[item][0], ctlogs[item][1], ctlogs[item][2])) + logs.append(ctlog(item["name"], item["url"], item["key"], item["id"])) print time.strftime('%H:%M:%S') + " Setting up monitor for " + str(len(logs)) + " logs..." # Set up state -- cgit v1.1