-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add preferred key algorithms #99
Conversation
Signed-off-by: Somtochi Onyekwere <[email protected]>
kexAlgoDHGEXSHA256 = "diffie-hellman-group-exchange-sha256" | ||
) | ||
|
||
var PreferredKexAlgos = []string{ |
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.
Would add a comment here that it is aligned with the preferredKeyAlgos
from golang/crypto
, but includes kexAlgoDHGEXSHA256
.
|
||
import "golang.org/x/crypto/ssh" | ||
|
||
const ( |
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.
Would add a comment here that points to the origin the strings were copied from so that it will be easier to sync them in the future.
Signed-off-by: Somtochi Onyekwere <[email protected]>
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.
Another round of nitpicks, other than that LGTM.
Signed-off-by: Somtochi Onyekwere <[email protected]>
Ref: fluxcd/flux2#1320
Signed-off-by: Somtochi Onyekwere [email protected]