hackclub / nest

Free, powerful, and versatile compute infrastructure for all high school hackers!
https://hackclub.app
MIT License
45 stars 10 forks source link

[Nest Bot] Validate SSH pubkeys better #48

Closed polypixeldev closed 2 months ago

polypixeldev commented 2 months ago

Nest Bot will now use the sshpk package to parse and validate ssh keys passed to Nest Bot for registration. This should do a better job of verifying that ssh keys are not malformed and should also provide support for submitting alternative formats, such as PuTTY's ppk format.

Not tested but should work :tm: