doc_ssh_keys.html 1011 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {% extends "master.html" %}
  2. {% block title %}Doc: SSH hostkeys/Fingerprints{% endblock %}
  3. {% set tag = "home" %}
  4. {% block content %}
  5. <div class="container">
  6. <h2 class="m-t-3">SSH Hostkeys/Fingerprints</h2>
  7. {% if config.get('SSH_KEYS') %}
  8. <p class="m-t-2">
  9. SSH host keys and fingerprints can be use to ensure you are connecting to
  10. pagure's server and not someone else's.
  11. </p>
  12. <p>
  13. Here below are the SSH Hostkey and the Fingerprint of this current pagure
  14. instance:
  15. </p>
  16. {% for cert in config.get('SSH_KEYS') %}
  17. {% for type in config['SSH_KEYS'][cert] %}
  18. <div class="card">
  19. <div class="card-header">
  20. <strong>{{ cert }} {{ type | title }}</strong>
  21. </div>
  22. <pre class="softwrap">{{ config['SSH_KEYS'][cert][type] }}</pre>
  23. </div>
  24. {% endfor %}
  25. {% endfor %}
  26. {% else %}
  27. <div class="alert alert-info m-t-3"><strong>No SSH keys have been specified in the configuration file.</strong>
  28. You should ask an admin to fill this information.</div>
  29. {% endif %}
  30. </div>
  31. {% endblock %}