diff options
| author | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-17 13:58:51 +0200 |
|---|---|---|
| committer | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-17 13:58:51 +0200 |
| commit | 0a539942e5a94818abedf3adf2090b57f6b92bc2 (patch) | |
| tree | a8aa4ce4480e9ea81a1dbf7857ad08b19c26dfd1 /monitor/josef_monitor.py | |
| parent | a7344504a7af8484eb1811450ad87f899d49d0b1 (diff) | |
finding nice script for verifying SCT, requires openssl 1.0.2
Diffstat (limited to 'monitor/josef_monitor.py')
| -rwxr-xr-x | monitor/josef_monitor.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
