Clarification on cipher preference - key size vs mode

未关闭
#396 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 17 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
52/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
security

调研方向

Read the OpenSSH 10.0 release notes linked in the issue for the new default cipher list, then look at how ssh-audit's hardening guides render the cipher preference ordering (the guide templates and the cipher list data they use). No files are named in the issue, so grep the repo for aes256-ctr and aes128-gcm to find the ordering source. Done means the ordering question is answered in the thread and the affected hardening guide output shows the agreed cipher sequence.

由索引模型根据 Issue 内容生成。

描述

OpenSSH 10.0 changed the default to prefer AES-GCM to AES-CTR mode when selecting a cipher for the connection. The default cipher preference list is now Chacha20/Poly1305, AES-GCM (128/256) followed by AES-CTR (128/192/256).
See https://www.openssh.org/txt/release-10.0

In the hardening guides [1] for some OSes this is the same ordering, but for others the algorithms are sorted by keysize first, ignoring the mode, e.g. [email protected],[email protected],aes256-ctr,aes192-ctr,[email protected],aes128-ctr.

So for sure [email protected] is better than aes128-ctr, but how do aes256-ctr and [email protected] compare and which should be first?

Shouldn't the strength and therefore also the ordering be independent of the OS?

[1] https://www.ssh-audit.com/hardening_guides.html

主要语言
Python
星标
4.3k
派生
233
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

jtesta/ssh-audit 的其他 Issue

查看 jtesta/ssh-audit 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。