python-sshpubkeys icon indicating copy to clipboard operation
python-sshpubkeys copied to clipboard

Tabs and double quotes not parsed correctly in authorized_keys file

Open steepnought opened this issue 3 years ago • 1 comments

authorized_keys files allow tabs as separators, backslash-escaped double quotes in option values and require double quotes around option values.

These cases are not treated correctly by sshpubkeys.AuthorizedKeysFile. See attached example file for test cases. ak.txt

steepnought avatar Feb 02 '22 21:02 steepnought

Feel free to create a PR to fix that. I'm happy to review and merge if test cases are included in the PR.

ojarva avatar Feb 02 '22 21:02 ojarva