SSH MAC Algorithm Names
Using WinSCP version 5.17.8, the WinSCP.com /info command returns the following MAC algorithms:
Whereas WinSCP actually supports all of the following because for each of the encrypt-and-MAC algorithms above there's an encrypt-then-MAC equivalent:
hmac-sha2-256
hmac-sha1
hmac-sha1-96
hmac-md5
hmac-sha2-256-etm@openssh.com
hmac-sha1-etm@openssh.com
hmac-sha1-96-etm@openssh.com
hmac-md5-etm@openssh.com
Would it be possible to update WinSCP.com /info to list both the encrypt-and-MAC and encrypt-then-MAC algorithms?
The encrypt-then-MAC name can be found in the etm_name property of an ssh2_macalg:
hmac-sha2-256 hmac-sha1 hmac-sha1-96 hmac-md5
Whereas WinSCP actually supports all of the following because for each of the encrypt-and-MAC algorithms above there's an encrypt-then-MAC equivalent:
hmac-sha2-256
hmac-sha1
hmac-sha1-96
hmac-md5
hmac-sha2-256-etm@openssh.com
hmac-sha1-etm@openssh.com
hmac-sha1-96-etm@openssh.com
hmac-md5-etm@openssh.com
Would it be possible to update WinSCP.com /info to list both the encrypt-and-MAC and encrypt-then-MAC algorithms?
The encrypt-then-MAC name can be found in the etm_name property of an ssh2_macalg:
name etm_name ---- -------- hmac-sha2-256 hmac-sha2-256-etm@openssh.com hmac-sha1 hmac-sha1-etm@openssh.com hmac-sha1-96 hmac-sha1-96-etm@openssh.com hmac-md5 hmac-md5-etm@openssh.com