aboutsummaryrefslogtreecommitdiff
path: root/src/error_page
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-21 21:29:30 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-21 21:29:30 +0200
commit6ef3d6a41f07a2f43a9b69f4e75adbffe634ea09 (patch)
tree791ad53823e47ecff837ec6004aa80c8fb1e1445 /src/error_page
parent6225064a008eccb9099ed2db49dad04c5f6d0550 (diff)
downloadkristall-6ef3d6a41f07a2f43a9b69f4e75adbffe634ea09.tar.gz
Adds option for manually trusting a TLS server.
Diffstat (limited to 'src/error_page')
-rw-r--r--src/error_page/MistrustedHost.gemini5
-rw-r--r--src/error_page/UntrustedHost.gemini10
2 files changed, 11 insertions, 4 deletions
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