summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2015-09-10 17:13:09 -0400
committerJoey Hess2015-09-10 17:13:09 -0400
commit189b67a5dac97dd6654488bf38d1f12e48f407e1 (patch)
tree47024018a471ae145b5c6d2674f214024d3281e4 /doc
parent5419b35c79d5e237169bb89c83b9d239b5aaed02 (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Could_not_load_host_key:___47__etc__47__ssh__47__ssh__95__host__95__ed25519__95__key/comment_2_0197951e17a4a47cce74ce6cc4108d50._comment20
1 files changed, 20 insertions, 0 deletions
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.
+"""]]