Open DEvil0000 opened 2 months ago
authorized_keys files parser e.g. ~/.ssh/authorized_keys. maybe asciitable parser or ssh/sshd parser could do that when extended.
third column "comment" is optional as well as the last lines trailing new line is optional.
example input: ssh-rsa AAAhdhkfjhsfsgsfkjhgkufsghru= optionalComment
example output: [{"type": "ssh-rsa", "key": "AAAhdhkfjhsfsgsfkjhgkufsghru=", "comment": "optionalComment"}]
authorized_keys files parser e.g. ~/.ssh/authorized_keys. maybe asciitable parser or ssh/sshd parser could do that when extended.
third column "comment" is optional as well as the last lines trailing new line is optional.
example input: ssh-rsa AAAhdhkfjhsfsgsfkjhgkufsghru= optionalComment
example output: [{"type": "ssh-rsa", "key": "AAAhdhkfjhsfsgsfkjhgkufsghru=", "comment": "optionalComment"}]