From 7fe693ab988faf2dc1643643c22ac7622dd7a53a Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Mon, 31 Oct 2022 15:31:31 +0100 Subject: [PATCH] opgpcard: re-add newlines in text output for 'ssh' --- tools/src/bin/opgpcard/output/ssh.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/src/bin/opgpcard/output/ssh.rs b/tools/src/bin/opgpcard/output/ssh.rs index 7d73288..39429c5 100644 --- a/tools/src/bin/opgpcard/output/ssh.rs +++ b/tools/src/bin/opgpcard/output/ssh.rs @@ -27,10 +27,10 @@ impl Ssh { } fn text(&self) -> Result { - let mut s = format!("OpenPGP card {}\n", self.ident); + let mut s = format!("OpenPGP card {}\n\n", self.ident); if let Some(fp) = &self.authentication_key_fingerprint { - s.push_str(&format!("Authentication key fingerprint:\n{}\n", fp)); + s.push_str(&format!("Authentication key fingerprint:\n{}\n\n", fp)); } if let Some(key) = &self.ssh_public_key { s.push_str(&format!("SSH public key:\n{}\n", key));