diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index dbf8bd5..90ca16a 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -443,3 +443,9 @@ a.notblue { border: 5px solid #fff; box-shadow: 0 0 5px #999; } + +pre.softwrap +{ + white-space: pre-wrap; + word-wrap: break-word; +} diff --git a/pagure/templates/doc_ssh_keys.html b/pagure/templates/doc_ssh_keys.html index 82f1406..0cc3139 100644 --- a/pagure/templates/doc_ssh_keys.html +++ b/pagure/templates/doc_ssh_keys.html @@ -5,29 +5,42 @@ {% block content %} +
+ SSH host keys and fingerprints can be use to ensure you are connecting to pagure's server and not someone else's. +
+Here below are the SSH Hostkey and the Fingerprint of this current pagure instance: - -{% if config.get('SSH_KEYS') %} +
{% for cert in config.get('SSH_KEYS') %} -{{ config['SSH_KEYS'][cert]['fingerprint'] }}+
{{ config['SSH_KEYS'][cert]['fingerprint'] }}+
{{ config['SSH_KEYS'][cert]['pubkey'] }}+
{{ config['SSH_KEYS'][cert]['pubkey'] }}{% endfor %} {% else %} -
No SSH keys have been specified in the configuration file.
-You should ask an admin to fill this information.
+