mscdex

Results 571 comments of mscdex

@Humphaz That is unrelated to the original issue here. The slowdown with diffie-hellman in general is in OpenSSL since many OpenSSL versions ago when they started performing additional checks on...

@Humphaz Two possibilities: 1. OpenSSH can/does use their own (non-OpenSSL) crypto-related code 2. They may be only be using the basics of OpenSSL (e.g. bignum support) or using different OpenSSL...

@Humphaz If you're interested in the OpenSSL commit that changed things, it's [here](https://github.com/openssl/openssl/commit/2500c093aa1e9c90c11c415053c0a27a00661d0d), so it's most likely because of node's use of `DH_check()` whereas OpenSSH does not appear to use...

@Humphaz The `DH_check()` happens in node core, so you would need to make the change there. However, it's not really advisable as it *could* open you up to security issues....

It's currently not exposed since it's not typically useful. For example, even [OpenSSH always sends the same disconnect reason code](https://github.com/openssh/openssh-portable/blob/c77bc73c91bc656e343a1961756e09dd1b170820/packet.c#L2668), including when the configured maximum authentication retries has been reached.

That's not supported currently.

The `end`/`close` event should be emitted.

There is currently no public way to get at the current state.

That will probably be fixed by https://github.com/mscdex/ssh2/pull/1111 once a working test is created.

Nothing like that is exposed currently.