From 1d610d438405b53a1046e7f4a57ebf98c57cdec0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 21 2015 17:33:21 +0000 Subject: Rename the configuration key from SSH_CERTS to SSH_KEYS --- 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 %}