Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves OpenSSL Ed25519 verification diagnostics by adding debug traces to ssh2_ed25519_verify() and wiring CI so the OpenSSL-3-no-deprecated job enables the extra ML-KEM debug trace macro.
Changes:
- Extend
ssh2_ed25519_verify()to accept aLIBSSH2_SESSION *for emitting KEX debug traces and log key OpenSSL call outcomes. - Update the Ed25519 hostkey verification call site to pass the session through.
- Enable
-DLIBSSH2_DEBUG_MLKEMin the OpenSSL-3-no-deprecated GitHub Actions job to allow the success-path trace.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/openssl.c |
Adds session-aware debug traces around Ed25519 verify initialization and verification. |
src/hostkey.c |
Passes session into ssh2_ed25519_verify() for logging support. |
src/crypto.h |
Updates the internal Ed25519 verify prototype to include LIBSSH2_SESSION *. |
.github/workflows/ci.yml |
Enables LIBSSH2_DEBUG_MLKEM for the OpenSSL-3-no-deprecated CI job to surface the new trace. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ssh2_ed25519_verify()
vszakats
added a commit
that referenced
this pull request
Oct 4, 2026
With the issue fixed, the debug/trace code is no longer necessary. Also: - GHA: drop tracing targeting FreeBSD, those flaky failures were not seen since then. Follow-up to 13dcd17 #2227 Ref: #1644 (comment) Follow-up to 4f2692f #2633 Follow-up to ca0e2dc #2259 Follow-up to 3ba252e #1644 Closes #2651
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.
Also enable a success-path debug message in the OpenSSL no-deprecated
job.
Bug: #1644 (comment)
Follow-up tp bc77633
Follow-up to a69fb2a #2092
Follow-up to 8e4c14b #2083
Follow-up to 3ba252e #1644