Repository navigation
Conversation
vszakats
added a commit
that referenced
this pull request
Oct 13, 2025
Tests started failing after touching `sshd_config`, which bumped the test container from Debian Bookworm to Trixie, and openssh-server from 9.2p1 to 10.0p1 with it. OpenSSH v10 no longer supports legacy KEX algos `diffie-hellman-group*` and `diffie-hellman-group-exchange-*`, making libssh2 require ECDSA or ED25519 to enable `curve25519-sha256*` or `ecdh-sha2-*`, for the tests to succeed. libgcrypt, stock Ubuntu wolfSSL, and WinCNG CI jobs broke. - ED25519 is only supported with OpenSSL and LibreSSL 3.7+. - ECDSA is supported by OpenSSL and mbedTLS (unless disabled), by wolfSSL in certain cases (but not on Ubuntu 24.04 with the stock v5.6.6 build), and by WinCNG when explicitly enabled, and targeting Windows 10/2016 Server. Fixed by: - wolfSSL support received an ECDSA detection fix, that resolved the issue with the stock Ubuntu builds, via: b807dac #1723 - WinCNG had ECDSA enabled in CI in the job running tests, via: 0f58438 #1721 - to make CI pass, disable running tests with Libgcrypt in this patch. An alternate option is to downgrade to Bookworm, with the undesired effect that its openssh-server doesn't support ML-KEM and other modern SSH features, meaning those could not be tested once implemented in libssh2, e.g. in #1644. Ref: https://www.openssh.com/txt/release-10.0 Ref: https://packages.debian.org/trixie/openssh-server Ref: https://packages.debian.org/bookworm/openssh-server Ref: https://packages.ubuntu.com/noble/libwolfssl-dev Bug: #1718 (comment) Follow-up to 4f9e6e0 #1718 Closes #1720
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To make it work with OpenSSH v10 in Debian Trixie. ECDSA (or ED25519) is
required for for compatibility with the supported list of KEX algos in
OpenSSH v10. ECDSA support requires targeting Windows 10, equivalent
to Windows 2016 Server.
Also move Windows 2016 job to the last position:
Ref: b5e68bd #1461
Bug: https://ci.appveyor.com/project/libssh2org/libssh2/builds/52898449/job/t79v1xi531bq3nab
Ref: #1720