-
Notifications
You must be signed in to change notification settings - Fork 585
Description
Describe the bug
When running tests/test_ssh2
, either of these errors happen:
-
libssh2_session_handshake failed (-12)
LIBSSH2_ERROR_DECRYPT
: Failed to get response to ssh-userauth request
https://github.com/libssh2/libssh2/actions/runs/4851558817/jobs/8645524071#step:7:1087 -
libssh2_session_handshake failed (-44)
LIBSSH2_ERROR_ENCRYPT
: Unable to ask for ssh-userauth service
https://github.com/libssh2/libssh2/actions/runs/4847366472/jobs/8637553577#step:7:1052
https://github.com/libssh2/libssh2/actions/runs/4846389013/jobs/8635903998#step:7:96
This is the first packet with encryption.
To Reproduce
Run tests/test_ssh2
against an sshd server.
Expected behavior
Same result as with OpenSSL/LibreSSL backends:
https://github.com/libssh2/libssh2/actions/runs/4847366472/jobs/8637553403#step:7:72
https://github.com/libssh2/libssh2/actions/runs/4847366472/jobs/8637553480#step:7:72
https://github.com/libssh2/libssh2/actions/runs/4851558817/jobs/8645523936#step:7:71
Version:
- OS and version: macOS (possibly others)
- libssh2 version: 1.10.1-DEV
- crypto backend: wolfSSL v5.6.0