On 21 December 2016 at 03:15, 陈健 <chenjianhappy2008@126.com> wrote:
>
>  hi:
>
>     I write a SSH server with Twisted(15.5.0)  Conch.  But it  don't support hmac-sha2-512 MAC algorithms
>
> .  However I see this problem has been fixed in https://twistedmatrix.com/trac/ticket/8108 .  I asked the question in http://stackoverflow.com/questions/41254398/twisted-hmac-sha2-512-corrupted-mac-on-input-with-openssh .
>

Hi,

#8108 did not fix hmac-sha2-512, but was an attempt to add support for it. Since there were no automated tests, hmac-sha2-512 was never functional.

There is a defect ticket which is not yet closed https://twistedmatrix.com/trac/ticket/8258 

I hope that the ticket description can be used to reproduce this error.

This might not be a hmac-sha2-512 specific issue, but a generic issue related to padding... is just that sha2-512 triggered it.

--
Adi Roiban