-
-
Notifications
You must be signed in to change notification settings - Fork 119
🔨 Restore curve25519-sha256 Key Exchange/remove SSH-Audit references in documentation #912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes remove references in documentation to passing all ssh-audit checks and delete the associated ssh-audit result image. In the SSH server configuration, the curve25519 key exchange algorithms are removed from the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SSH_Client
participant SSH_Server
User->>SSH_Client: Initiate SSH connection
SSH_Client->>SSH_Server: Propose supported KexAlgorithms
SSH_Server->>SSH_Client: Responds with allowed KexAlgorithms (without curve25519 variants)
SSH_Client->>SSH_Server: Proceed with mutually supported algorithm
SSH_Server-->>User: Connection established (if compatible)
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
images/ssh-audit.pngis excluded by!**/*.png
📒 Files selected for processing (3)
ssh/.README.j2(0 hunks)ssh/DOCS.md(0 hunks)ssh/rootfs/etc/ssh/sshd_config(1 hunks)
💤 Files with no reviewable changes (2)
- ssh/.README.j2
- ssh/DOCS.md
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: workflows / Verify
🔇 Additional comments (1)
ssh/rootfs/etc/ssh/sshd_config (1)
26-26: Curve25519 KEX algorithms are still absent – contradicts PR goal
The PR description says we are restoringcurve25519-sha256(and its libssh.org variant) for client compatibility, yet theKexAlgorithmsline still omits them. Users relying on these widely-supported curves will continue to fall back to compatibility mode.-KexAlgorithms -diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521 +KexAlgorithms -diffie-hellman-group-exchange-sha256,curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521Please update the line (or remove the explicit list entirely and rely on the OpenSSH default) so the code matches the stated objective.
Likely an incorrect or invalid review comment.
|
Output from SSH-Audit |
frenck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @sinclairpaul 👍
../Frenck
|
Shouldn't be closed until the update docker is available for install... Which is not! |
|
When it is released, if you want to run the edge version you can. |
Proposed Changes
The current Dev version of SSH-Audit warns about the curve25519-sha256 and curve25519-sha256@libssh.org keys with the statement:
These have then been removed from the configuration as the documentation states that the SSH configuration meets all SSH-Audit warnings.
Unfortunately this renders a number of SSH Clients unusable, leading to Compatibility Mode being used.
As these warnings are referencing advances in Quantum Computing and future breakthroughs in decryption https://en.wikipedia.org/wiki/Harvest_now,_decrypt_later, it would seem these would be excessive for the addon in it's current setting.
To avoid confusion also removed the statements around meeting all SSH-Audit warnings.
Related Issues
Fixes #904
Summary by CodeRabbit
Documentation
Refactor