Closed maxcelos closed 4 months ago
When trying to add a ssh key in /settings/ssh-keys the message "Invalid key" is returned.
/settings/ssh-keys
Checking the validation rule, it only accept keys starting with ssh-rsa and ssh-dss.
ssh-rsa
ssh-dss
File: app/ValidationRules/SshKeyRule.php
app/ValidationRules/SshKeyRule.php
An easy fix could be just add other keys formats or maybe remove this part from validation rule.
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
andssh-dss
.File:
app/ValidationRules/SshKeyRule.php
An easy fix could be just add other keys formats or maybe remove this part from validation rule.