diff options
| author | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-28 10:37:56 +0200 |
|---|---|---|
| committer | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-28 10:37:56 +0200 |
| commit | 90b3ea06bf21659a9b7cfb8f72cbbc7b22d7367d (patch) | |
| tree | 6e75400effae589cd0239890b3d0fb94ad933e5d | |
| parent | 8784c9d41a0030b364c1d28ed4ff5f0615356d66 (diff) | |
bugfix in key encoding
| -rwxr-xr-x | monitor/josef_monitor.py | 2 |
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 |
