Repository navigation
Bump libssh to 0.12.0 - #108329
Merged
Merged
Bump libssh to 0.12.0#108329
libssh to 0.12.0#108329Conversation
Update the `contrib/libssh` submodule from an upstream master snapshot (`libssh-0.11.0-368-g47305a2f`) to the upstream release `libssh-0.12.0`, tracked via the `ClickHouse/libssh-0.12.0` branch of the fork mirror. Both the old and new pins are clean upstream commits, so no ClickHouse patches needed to be carried forward. Build integration changes in `contrib/libssh-cmake`: - Bump the `libssh_VERSION_*` variables to 0.12.0. - Add the new ML-KEM sources to the build. In 0.12.0, `kex.c` references `ssh_client_hybrid_mlkem_remove_callbacks` from an unguarded switch case, so `hybrid_mlkem.c` and `mlkem.c` are now mandatory. ClickHouse bundles OpenSSL 3.5, which provides the EVP ML-KEM API, so the OpenSSL backend `mlkem_crypto.c` is used (matching upstream's `OPENSSL_VERSION >= 3.5.0` logic). - In every per-platform `config.h`: define `GLOBAL_CONF_DIR` (now used unconditionally via string concatenation in `options.c`), and enable `HAVE_OPENSSL_MLKEM` / `HAVE_MLKEM1024` to select the OpenSSL ML-KEM backend and the ML-KEM-1024 variants. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
thevar1able
marked this pull request as ready for review
June 23, 2026 20:49
Contributor
|
Workflow [PR], commit [5b2c7fb] Summary: ❌
AI ReviewSummary
Missing context / blind spots
Final Verdict
|
Algunenano
approved these changes
Jun 24, 2026
| #define GLOBAL_CLIENT_CONFIG "/etc/ssh/ssh_config" | ||
|
|
||
| /* Global configuration directory (libssh >= 0.12 uses it unconditionally) */ | ||
| #define GLOBAL_CONF_DIR "/etc/ssh" |
Member
There was a problem hiding this comment.
I had some concerns this might lead us to use external files, but it seems this is only used in the client side for known_hosts, and we never act as such. That is, it's only used to make the build pass.
Contributor
|
@thevar1able can this be backported to 25.8? |
This was referenced Aug 13, 2026
thevar1able
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #108329 to 26.5: Bump `libssh` to 0.12.0
thevar1able
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #108329 to 26.6: Bump `libssh` to 0.12.0
thevar1able
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #108329 to 26.3: Bump `libssh` to 0.12.0
thevar1able
added a commit
that referenced
this pull request
Aug 18, 2026
Backport #108329 to 25.8: Bump `libssh` to 0.12.0
kewin-robetti
pushed a commit
to viasoftkorp/ClickHouse
that referenced
this pull request
Aug 24, 2026
kewin-robetti
pushed a commit
to viasoftkorp/ClickHouse
that referenced
this pull request
Aug 24, 2026
kewin-robetti
pushed a commit
to viasoftkorp/ClickHouse
that referenced
this pull request
Aug 24, 2026
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
Bump `libssh` to 0.12.0
VighneshPath
pushed a commit
to VighneshPath/ClickHouse
that referenced
this pull request
Sep 16, 2026
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.
Update the
contrib/libsshsubmodule to the upstream releaselibssh-0.12.0(from an upstream master snapshot,libssh-0.11.0-368-g47305a2f), tracked via theClickHouse/libssh-0.12.0branch of the fork mirror. Both the old and new pins are clean upstream commits, so no ClickHouse patches needed to be carried forward.Build integration changes in
contrib/libssh-cmake:libssh_VERSION_*variables to 0.12.0.kex.creferencesssh_client_hybrid_mlkem_remove_callbacksfrom an unguarded switch case, sohybrid_mlkem.candmlkem.care now mandatory. ClickHouse bundles OpenSSL 3.5, which provides the EVP ML-KEM API, so the OpenSSL backendmlkem_crypto.cis used (matching upstream'sOPENSSL_VERSION >= 3.5.0logic).config.h: defineGLOBAL_CONF_DIR(now used unconditionally via string concatenation inoptions.c), and enableHAVE_OPENSSL_MLKEM/HAVE_MLKEM1024to select the OpenSSL ML-KEM backend and the ML-KEM-1024 variants.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Update
libsshto 0.12.0.Documentation entry for user-facing changes
Version info
26.7.1.24(included in26.7and later)26.6.3.62,26.5.7.63,26.3.20.4,25.8.31.9