From 17ac7a3d8fc210c9bb4c291ece353315070d185c Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 17 Oct 2025 10:47:31 +0200 Subject: [PATCH] Fix display impl --- .../desktop_native/ssh_agent/src/protocol/types.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs b/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs index 966885b8c88..a8d421981d9 100644 --- a/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs +++ b/apps/desktop/desktop_native/ssh_agent/src/protocol/types.rs @@ -343,7 +343,7 @@ impl Display for PublicKey { // Failure to encode is ignored let _ = self.alg().as_bytes().encode(&mut buf); let _ = self.blob().encode(&mut buf); - write!(f, "{}", BASE64_STANDARD.encode(&buf)) + write!(f, "{} {}", self.alg(), BASE64_STANDARD.encode(&buf)) } } @@ -408,6 +408,8 @@ fn parse_key_safe(pem: &str) -> Result