diff --git a/files/pagure.cfg.sample b/files/pagure.cfg.sample index d49cac5..d610db1 100644 --- a/files/pagure.cfg.sample +++ b/files/pagure.cfg.sample @@ -91,7 +91,7 @@ GL_BINDIR = None ### The ssh certificates of the git server to be provided to the user ### /!\ format is important -# SSH_CERTS = {'RSA': {'fingerprint': '', 'pubkey': ''}} +# SSH_KEYS = {'RSA': {'fingerprint': '', 'pubkey': ''}} diff --git a/pagure/templates/doc_ssh_keys.html b/pagure/templates/doc_ssh_keys.html index 064c2eb..03d7991 100644 --- a/pagure/templates/doc_ssh_keys.html +++ b/pagure/templates/doc_ssh_keys.html @@ -14,14 +14,14 @@ 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_CERTS') %} +{% if config.get('SSH_KEYS') %} -{% for cert in config.get('SSH_CERTS') %} +{% for cert in config.get('SSH_KEYS') %}

{{ cert }} Fingerprint

-{{ config['SSH_CERTS'][cert]['fingerprint'] }} +{{ config['SSH_KEYS'][cert]['fingerprint'] }}

{{ cert }} Hostkey

-{{ config['SSH_CERTS'][cert]['pubkey'] }} +{{ config['SSH_KEYS'][cert]['pubkey'] }} {% endfor %} {% else %}