vitodeploy / vito

The Ultimate Server Management Tool
https://vitodeploy.com
GNU Affero General Public License v3.0
1.06k stars 166 forks source link

Unable to add SSH keys of type ssh-ed25519 #222

Closed maxcelos closed 4 months ago

maxcelos commented 4 months ago

When trying to add a ssh key in /settings/ssh-keys the message "Invalid key" is returned.

Checking the validation rule, it only accept keys starting with ssh-rsa and ssh-dss.

File: app/ValidationRules/SshKeyRule.php image

An easy fix could be just add other keys formats or maybe remove this part from validation rule.