From 189b67a5dac97dd6654488bf38d1f12e48f407e1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Sep 2015 17:13:09 -0400 Subject: response --- ...mment_2_0197951e17a4a47cce74ce6cc4108d50._comment | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key/comment_2_0197951e17a4a47cce74ce6cc4108d50._comment (limited to 'doc') diff --git a/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key/comment_2_0197951e17a4a47cce74ce6cc4108d50._comment b/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key/comment_2_0197951e17a4a47cce74ce6cc4108d50._comment new file mode 100644 index 00000000..284fafbc --- /dev/null +++ b/doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key/comment_2_0197951e17a4a47cce74ce6cc4108d50._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2015-09-10T21:00:46Z" + content=""" +If you look at `setPrivDataTo`, it explicitly chomps all trailing newlines +from the value. I think that I did that because it's easy to accidentially +add a newline you don't want when eg, pasting in a password. + +So, one solution might be to make --set --from-file load +a file into privdata as-is. But, that seems like complication; +you'd need to remember when to use it. + +I think it's better for the ssh property (and any other affected +properties) to be changed, to add a final newline to the value from +privdata when one is missing. Does this problem only affect ed25519 +keys, or others too? Only private keys or also public? + +I am currently extremely busy, so a patch would be great. +"""]] -- cgit v1.2.3