Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key exchange is slow/gets timeouts #17

Open
cy384 opened this issue Aug 7, 2022 · 1 comment
Open

Key exchange is slow/gets timeouts #17

cy384 opened this issue Aug 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@cy384
Copy link
Owner

cy384 commented Aug 7, 2022

Key exchange is slow. This is arguably more of a bug in mbedtls but I want to track it here for my purposes. Notes:

  • diffie-hellman-group1-sha1 key exchange method is too slow to run on (some? all?) 68k machines
  • implementations in bignum.c in mbedtls, revisit mbedtls_mpi_exp_mod specifically
  • figure how to detect when the remote host drops us due to timeout and tell the user
  • figure out and document the minimum specs for the various methods
  • is there some keepalive flag or message, either OT/TCP or in ssh/libssh2 that we can be using to prevent timeouts?
@cy384 cy384 added the bug Something isn't working label Aug 7, 2022
@reukiodo
Copy link

Is there debug output to see what cipher/key exchange the client is using to connect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants