From 6ef3d6a41f07a2f43a9b69f4e75adbffe634ea09 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sun, 21 Jun 2020 21:29:30 +0200 Subject: Adds option for manually trusting a TLS server. --- src/error_page/MistrustedHost.gemini | 5 +++-- src/error_page/UntrustedHost.gemini | 10 ++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'src/error_page') diff --git a/src/error_page/MistrustedHost.gemini b/src/error_page/MistrustedHost.gemini index 7673de3..f32826f 100644 --- a/src/error_page/MistrustedHost.gemini +++ b/src/error_page/MistrustedHost.gemini @@ -2,6 +2,7 @@ The host you tried to visit does not look trustworty anymore. The certificate changed since your last visit. -If you still trust this host, please revoke trust in the settings menu, then reload the page. +Fingerprint: +%1 -> %1 +If you still trust this host, please revoke trust in the settings menu, then reload the page. diff --git a/src/error_page/UntrustedHost.gemini b/src/error_page/UntrustedHost.gemini index 41c21c0..afe0c24 100644 --- a/src/error_page/UntrustedHost.gemini +++ b/src/error_page/UntrustedHost.gemini @@ -1,6 +1,12 @@ # Untrusted Host The host you tried to visit is not trusted by Kristall. If you do trust this server, please add it to the list of trusted certificates! -(which is currently not possible ☹) -> %1 +Fingerprint: +``` +%1 +``` + +=> kristall+ctrl:ignore-tls-safe Continue to site (once) + +=> kristall+ctrl:add-fingerprint Add fingerprint to trusted hosts -- cgit v1.2.3