From c8dd3d2e80ee1d74227e5654e9092811342a5e7c Mon Sep 17 00:00:00 2001
From: j3s <j3s@c3f.net>
Date: Thu, 18 Feb 2021 11:12:51 -0600
Subject: [PATCH 1/2] Correct ssh pubkey spacing

---
 capsulflask/templates/capsul-detail.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/capsulflask/templates/capsul-detail.html b/capsulflask/templates/capsul-detail.html
index ba10521..052c206 100644
--- a/capsulflask/templates/capsul-detail.html
+++ b/capsulflask/templates/capsul-detail.html
@@ -198,7 +198,7 @@
     </div>
     <div class="row">
       <pre class="code wrap break-all smalltext">{% for key in vm['ssh_host_keys'] %}
-  {{ vm['ipv4'] }} {{ key.content }}{% endfor %}
+{{ vm['ipv4'] }} {{ key.content }}{% endfor %}
   </pre>
     </div>
     <div class="row">

From ca0f9d1a41489ffa89f1b109e3d643ce8d6388c2 Mon Sep 17 00:00:00 2001
From: j3s <j3s@c3f.net>
Date: Thu, 18 Feb 2021 11:13:58 -0600
Subject: [PATCH 2/2] Remove ssh host key spacing

---
 capsulflask/templates/capsul-detail.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/capsulflask/templates/capsul-detail.html b/capsulflask/templates/capsul-detail.html
index 052c206..c864b88 100644
--- a/capsulflask/templates/capsul-detail.html
+++ b/capsulflask/templates/capsul-detail.html
@@ -134,7 +134,7 @@
     
     <div class="row">
       <pre class="code">{% for key in vm['ssh_host_keys'] %}
-  SHA256:{{ key.sha256 }} ({{ key.key_type }}){% endfor %}</pre>
+SHA256:{{ key.sha256 }} ({{ key.key_type }}){% endfor %}</pre>
     </div>
     <div class="row">
       <span>(What's this? see <a href="/about-ssh">Understanding the Secure Shell Protocol (SSH)</a>)</span>