[Bug 2623] AuthorizedKeysFile split pub key and signature with tab `\t` not work.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 12 04:18:29 AEDT 2016


--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
Created attachment 2878
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2878&action=edit
Allow a single tab instead of space between key type and key.

Looks like the code in question is in sshkey.c:sshkey_read(), and that
tabs are accepted in many places but not all.  In that code's defense,
the sshd(8) man page specifies that these things are space-separated.

        case KEY_UNSPEC:
                space = strchr(cp, ' ');
... but later:
                        while (*space == ' ' || *space == '\t')

Please try the attached patch, which should allow a single tab
character instead of a space.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list