]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Show all available types of fingerprints
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 Oct 2018 09:35:46 +0000 (10:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 Oct 2018 09:35:46 +0000 (10:35 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/ssh-keys/index.html

index de860276f0f7a8110c6f2e6a73ca1c66aab2ac99..b581c39311f3750e5fe73027c661d3112d26d734 100644 (file)
@@ -14,7 +14,9 @@
                                        </a>
                                </h5>
 
-                               <p class="text-monospace mb-0">{{ key.hash_md5() }}</p>
+                               {% for h in (key.hash_md5(), key.hash_sha256(), key.hash_sha512()) %}
+                                       <p class="text-monospace small text-truncate mb-0">{{ h }}</p>
+                               {% end %}
 
                                {% if key.options %}
                                        <p class="my-1">{{ _("Options") }}</p>