Antony Somerville <
[email protected]> wrote:
How can I update putty.exe to handle diffie-hellman-group16-sha1 ?
It's not very difficult, provided you know the group parameters. All
the code is in crypto/diffie-hellman.c.
But where does this method come from? The SSH assigned numbers page at
http://www.iana.org/assignments/ssh-parameters/ssh-parameters.xhtml
lists diffie-hellman-group16-sha512, but not -sha1. Even under the
assumption that it's the same group with a different hash function,
that's going outside the bounds of the standard - there's no
expectation that you should be able to make up new names in that
namespace by re-composing existing names in that way.
What SSH server is supporting this nonstandard name as its only kex
method?
--
for k in [pow(x,37,0x1a1298d262b49c895d47f) for x in [0x50deb914257022de7fff, 0x213558f2215127d5a2d1, 0x90c99e86d08b91218630, 0x109f3d0cfbf640c0beee7, 0xc83e01379a5fbec5fdd1, 0x19d3d70a8d567e388600e, 0x534e2f6e8a4a33155123]]:
print("".join([chr(32+3*((k>>x)&1))for x in range(79)])) # <
[email protected]>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)