-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of insecure HostKeyCallback implementation #60
Conversation
@riteshsonawane1372 are there no other methods available? |
|
|
@riteshsonawane1372 could you replace the password-based auth with ssh key auth? |
api/civo/utils.go
Outdated
//HostKeyCallback: hostKeyCallback, | ||
// FIXME: Insecure Ignore should be replaced with secure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the comment
api/civo/utils.go
Outdated
HostKeyCallback: ssh.HostKeyCallback( | ||
func(hostname string, remote net.Addr, key ssh.PublicKey) error { | ||
return nil | ||
}), |
Check failure
Code scanning / CodeQL
Use of insecure HostKeyCallback implementation
api/civo/utils.go
Outdated
HostKeyCallback: ssh.HostKeyCallback( | ||
func(hostname string, remote net.Addr, key ssh.PublicKey) error { | ||
return nil | ||
}), |
Check failure
Code scanning / CodeQL
Use of insecure HostKeyCallback implementation
|
If we can move to private key Auth |
Can you describe a bit ? |
ig it will be clear if you can check the Issue created still any doubt we can discuss |
@riteshsonawane1372 you are working on main branch do checkout to a different branch |
Tasks
Use of insecure HostKeyCallback implementation
Solution ✔️
Screenshots 🖼️
Note to reviewers 📓