diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-02 14:50:20 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-02 14:50:20 -0400 |
commit | f758bce3d358300fde3a5b0cac9677cb4aaa9754 (patch) | |
tree | ab8cdd289f1f2b05c633229e66906925d0dee64a /doc | |
parent | 046517d043c481788f624473586522e78001fc68 (diff) |
assistant: Fix local pairing to not include newline in ssh pubkey, which is rejected on the other end for security reasons.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/local_pair_fails_if_non-ascii_characters_present_on_annex_path/comment_4_c6d6fa60e71895b7c0c68cc75cd7c5cc._comment | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/local_pair_fails_if_non-ascii_characters_present_on_annex_path/comment_4_c6d6fa60e71895b7c0c68cc75cd7c5cc._comment b/doc/bugs/local_pair_fails_if_non-ascii_characters_present_on_annex_path/comment_4_c6d6fa60e71895b7c0c68cc75cd7c5cc._comment new file mode 100644 index 000000000..7ecbe91d0 --- /dev/null +++ b/doc/bugs/local_pair_fails_if_non-ascii_characters_present_on_annex_path/comment_4_c6d6fa60e71895b7c0c68cc75cd7c5cc._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2015-07-02T18:32:16Z" + content=""" +In comment 2, we see a message containing a ssh key with a newline at the +end. That is the control character it's objecting to, and it has good +security reasons to not allow newlines in there (multiline ssh keys could +result in a ~/.ssh/authorized_keys that runs arbitrary commands). + +I was able to reproduce that myself. The problem was that the assistant +didn't remove newlines when sending the ssh key. Fixed it. + +This bug report is **closed**, for the second time. +If you see this message using any newer version of git-annex, +please file a new bug report. +"""]] |