Skip to content

Update to libssh2 master branch - #362

Merged
yodaldevoid merged 6 commits into
rust-lang:masterfrom
Manishearth:libssh2up
Sep 7, 2026
Merged

Update to libssh2 master branch#362
yodaldevoid merged 6 commits into
rust-lang:masterfrom
Manishearth:libssh2up

Conversation

@Manishearth

Copy link
Copy Markdown
Member

We temporarily pointed it to my fork with some uplifted patches. We shouldn't do that long term, we should instead use libssh2 upstream and update regularly to get fixes.

@Manishearth

Copy link
Copy Markdown
Member Author

CI fails, I don't have the time to investigate this right now, but we should do this IMO.

@cuviper

cuviper commented Aug 5, 2026

Copy link
Copy Markdown
Member

build.rs currently bypasses the project's own cmake and uses its own source list, and it appears this is out of date. The particular error is that src/crypto.c is gone, but I'm not sure if there are any new files in its place.

@Manishearth

Copy link
Copy Markdown
Member Author

Needs more work on passing tests.

The diffie-hellman-group* KEX methods were removed from the default
list in OpenSSH 10.0 and disabled by default since libssh2 1.11.1.
Elliptic curve methods have been supported in the default list for 14
years now according to the OpenSSH change log, so it should be safe to
choose this for tests.
MD5 hashes have been disabled by default by libssh2 1.11.1.
@yodaldevoid

Copy link
Copy Markdown
Collaborator

The channel::shell test wants to lock up on MacOS as per usual, but everything else is passing.

@yodaldevoid
yodaldevoid merged commit b027316 into rust-lang:master Sep 7, 2026
8 of 11 checks passed
@Manishearth
Manishearth deleted the libssh2up branch September 7, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants