Matthew Garrett:我们该如何处理密钥?
原标题: Matthew Garrett: What do we do with keys?
AI 摘要 AI 生成,可能有误
Matthew Garrett 分析了 NSA 最近的加密指南,观察到虽然 RSA-3072 和 P-384 仍然足够安全,且 RSA-2048 获得了明确的遗留豁免,但 P-256 缺乏类似的豁免这一显著事实表明它可能已被削弱。Chrome 和 Mozilla 不再信任 P-256 中间证书的举动加强了这一怀疑,如果这种弱点普遍适用于椭圆曲线,那么 ed25519 和 secp256k1 等算法也可能受到影响。Garrett 建议在可能的情况下迁移到 ML-DSA 等现代算法,同时承认硬件限制和迁移成本使许多组织无法判断过渡是否值得。
核心要点
- NSA 未给予 P-256 遗留豁免(却允许了 RSA-2048)暗示 P-256 现在被认为较弱。
- Chrome 和 Mozilla 不再信任 P-256 中间证书的做法表明它比 RSA-2048 更弱。
- 如果椭圆曲线总体上受影响,ed25519 和 secp256k1 很可能也被削弱了,这值得迁移离开 256 位 EC。
- 既然要过渡,就采用 ML-DSA 和其他现代算法,以避免几年后再次迁移。
- 对于 TPM 等受限硬件,将较弱的密钥保存在硬件中可能仍比将强密钥存储在磁盘上更安全,这取决于攻击成本。
This week the NSA released a statement that has been variously interpreted as “All cryptography is broken”, “Everything is fine”, or “It depends”. I am not a cryptographer, and nothing that I’m going to say here should be relied upon in any way, and if you want to ask questions about cryptography then you should be talking to someone qualified and not me. Anyway.
Let’s concentrate on what the NSA release does say.
Record which algorithms each system uses for key establishment, signatures,and certificates, particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。