Commit 9e9068d212e1c73bf4a72830aa7c2e6efae73cac

Thomas de Grivel 2021-12-14T10:21:31

display ssh keys fingerprint

diff --git a/lib/kmxgit_web/templates/page/index.html.heex b/lib/kmxgit_web/templates/page/index.html.heex
index 2dc0a39..445bd30 100644
--- a/lib/kmxgit_web/templates/page/index.html.heex
+++ b/lib/kmxgit_web/templates/page/index.html.heex
@@ -1,5 +1,18 @@
 <div class="container-fluid">
-  <code>
-    "Hello, world !"
-  </code>
+  <p>
+    <code>
+      "Hello, world !"
+    </code>
+  </p>
+  <p>
+    <%= gettext "Welcome to this instance of" %>
+    <%= link "kmxgit", to: "https://git.kmx.io/kmx.io/kmxgit" %>
+    .
+  </p>
+  <p>
+    <%= gettext "You can register and create public and private Git repositories." %>
+  </p>
+
+  <h3>SSH keys fingerprint</h3>
+  <pre><%= render("ssh_keys_fingerprint.txt") %></pre>
 </div>
diff --git a/lib/kmxgit_web/templates/page/ssh_keys_fingerprint.txt.eex b/lib/kmxgit_web/templates/page/ssh_keys_fingerprint.txt.eex
new file mode 100644
index 0000000..9004e8d
--- /dev/null
+++ b/lib/kmxgit_web/templates/page/ssh_keys_fingerprint.txt.eex
@@ -0,0 +1,4 @@
+1024 SHA256:Wsjb8ilMFobuNdUrlCAqOv2sPlyHDlzdw0C3CYZRE6g root@image.localhost (DSA)
+ 256 SHA256:dQkO4HEBZrMkV3uSnMMnVMRxjuCJLjp5ztUk27ycIKQ root@image.localhost (ECDSA)
+ 256 SHA256:jy8iHeeKNeBpWSS2t1q5UUH/ia6u7El/xzKXFZy58Ck root@image.localhost (ED25519)
+3072 SHA256:MOVUW9rek+QUo6SORB5xEWFHwtmGNHgH4eOSyPIuPwo root@image.localhost (RSA)