-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
Support OpenSSH etm
and umac
ssh MAC's to allow Go to connect to ssh servers which don't allow older MAC's.
Currently golang.org/x/crypto/ssh
packer only supports:
- hmac-sha2-256
- hmac-sha1
- hmac-sha1-96
see ssh/mac.go#L47
The default MAC's in OpenBSD 6.0, see sshd_config (5) - MACs, in priority order is:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- hmac-sha2-256
- hmac-sha2-512
- hmac-sha1
Only the two in bold overlap with the Go supported MAC's. The OpenSSH docs also state:
The algorithms that contain “-etm” calculate the MAC after encryption (encrypt-then-mac). These are considered safer and their use recommended
Following this leaves Go based software unable to connect over SSH.
go version go1.7.1 darwin/amd64
MiLk
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.