Skip to content

wolfSSL: libssh2_session_handshake failed: -12/-44 DECRYPT/ENCRYPT #1020

@vszakats

Description

@vszakats

Describe the bug
When running tests/test_ssh2, either of these errors happen:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions