unraid / webgui

Unraid Web UI
146 stars 71 forks source link

feat(user-edit): update allowed ssh key encryptions #1820

Closed Garbee closed 1 month ago

Garbee commented 1 month ago

This follows up the changes from #1127 to allow for more modern SSH key types. This changes the regex to the one provided for combined support for all key types. If support for restrictions to the more secure key types only is desired, I think that needs a discussion on adding a "Hardened Mode" setting somewhere that may also impact other parts of the system too, instead of just SSH key formats.

This fixes an issue where current modern keys are being rejected by the web interface. Such as fresh keys generated with Secretive where users don't have control over which type of encryption is used.

limetech commented 1 month ago

thank you!