summaryrefslogtreecommitdiff
path: root/monitor/josef_monitor.py
diff options
context:
space:
mode:
authorJosef Gustafsson <josef.gson@gmail.com>2015-09-28 10:37:56 +0200
committerJosef Gustafsson <josef.gson@gmail.com>2015-09-28 10:37:56 +0200
commit90b3ea06bf21659a9b7cfb8f72cbbc7b22d7367d (patch)
tree6e75400effae589cd0239890b3d0fb94ad933e5d /monitor/josef_monitor.py
parent8784c9d41a0030b364c1d28ed4ff5f0615356d66 (diff)
bugfix in key encoding
Diffstat (limited to 'monitor/josef_monitor.py')
-rwxr-xr-xmonitor/josef_monitor.py2
1 files changed, 1 insertions, 1 deletions
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