mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 23:53:52 +03:00
Work on ssh key issue
This commit is contained in:
parent
3005c4f6db
commit
b7b7863364
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func CheckPublicKeyString(content string) (bool, error) {
|
|||
if err != nil {
|
||||
return false, errors.New("ssh-keygen -l -f: " + stderr)
|
||||
} else if len(stdout) < 2 {
|
||||
return false, errors.New("ssh-keygen returned not enough output to evaluate the key")
|
||||
return false, errors.New("ssh-keygen returned not enough output to evaluate the key: " + stdout)
|
||||
}
|
||||
|
||||
// The ssh-keygen in Windows does not print key type, so no need go further.
|
||||
|
|
Loading…
Reference in a new issue