Repository navigation
Conversation
vszakats
marked this pull request as draft
October 13, 2025 21:58
vszakats
marked this pull request as ready for review
October 13, 2025 22:51
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.
Use
HAVE_ECCas an indicator for ECDSA when building with wolfSSL.Before this patch the OpenSSL macros were used, in particular
OPENSSL_NO_EC, which made ECDSA support disabled with certainwolfSSL build configurations, e.g. the Ubuntu 24.04 one.
ECDSA is necessary to run tests with OpenSSH v10, e.g. on Debian Trixie.
Follow-up to b95e758 #666
Ref: #1720