summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-08 20:33:54 +0200
committermathieui <mathieui@mathieui.net>2017-10-08 20:33:54 +0200
commitf59fcc12ef498b8a4dc29868ae0141ddf468042a (patch)
treed7f79e8b53a47aaa234fcadc859cfc073c4a2ed9
parentff0095b44f0174eaa0da9f95056d9d36cad27b84 (diff)
downloadpoezio-f59fcc12ef498b8a4dc29868ae0141ddf468042a.tar.gz
poezio-f59fcc12ef498b8a4dc29868ae0141ddf468042a.tar.bz2
poezio-f59fcc12ef498b8a4dc29868ae0141ddf468042a.tar.xz
poezio-f59fcc12ef498b8a4dc29868ae0141ddf468042a.zip
Fix #3257 (print cert hashes after validating the dialog)
-rw-r--r--poezio/core/handlers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index f6d9f304..b52f5d9d 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1312,7 +1312,10 @@ class HandlerCore:
def _ssl_pop_tab(self, old_cert, new_cert):
def cb(result):
if result:
- self.core.information('New certificate accepted.', 'Info')
+ self.core.information(
+ 'New certificate accepted:\nnew: %s\nold: %s' % (
+ old_cert, new_cert),
+ 'Info')
log.debug('Setting certificate to %s', new_cert)
if not config.silent_set('certificate', new_cert):
self.core.information(