Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tabs and double quotes not parsed correctly in authorized_keys file #91

Open
steepnought opened this issue Feb 2, 2022 · 1 comment

Comments

@steepnought
Copy link

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

@ojarva
Copy link
Owner

ojarva commented Feb 2, 2022

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants