From f59fcc12ef498b8a4dc29868ae0141ddf468042a Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 8 Oct 2017 20:33:54 +0200 Subject: Fix #3257 (print cert hashes after validating the dialog) --- poezio/core/handlers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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( -- cgit v1.2.3