From 90b3ea06bf21659a9b7cfb8f72cbbc7b22d7367d Mon Sep 17 00:00:00 2001 From: Josef Gustafsson Date: Mon, 28 Sep 2015 10:37:56 +0200 Subject: bugfix in key encoding --- monitor/josef_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor/josef_monitor.py') diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index f4b4b25..035ef72 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -131,7 +131,7 @@ class ctlog: return try: - check_sth_signature(self.url, new_sth, self.key) + check_sth_signature(self.url, new_sth, base64.b64deode(self.key)) except: self.log("ERROR: Could not verify STH signature") print "ERROR: Could not verify STH signature from " + self.url -- cgit v1.1