
2026/12/05 21:51
OpenSSH:生成されるデフォルトの鍵の種類を ECDSA NISTP384 に変更
RSS: https://news.ycombinator.com/rss
要約▶
Japanese Translation:
主要な更新事項は、OpenSSL のソースファイルメタデータにおける「ssh-keygen.c」の変更です。具体的には、デフォルトのキータイプ名を「ed25519」から「ecdsa」へ変更し、デフォルトの ECDSA ビット長を 256 から 384 に増やしました。これらの調整はコミッター djm によって行われ、記録日が 2026 年 11 月 29 日から 2026 年 12 月 3 日へ更新されましたが、オリジナルの 1994 年の著作権および Tatu Ylonen の著者権は維持されています。ファイルのバージョン番号は 1.512 から 1.513 に増加しましたが、コアのセキュリティアルゴリズムは変更されておらず、標準的なキー生成はまだ堅牢な 3072 ビットがデフォルトとなっています。この変更により、古い「ed25519」命名規則をハードコードで期待している、あるいは以前の 256 ビット ECDSA 標準に依存している既存のスクリプトまたは設定ファイルは、互換性エラーを回避するために更新する必要があります。開発者は、システムに確立されている暗号的強度を損なうことなく、この新しい 384 ビットの要件に適応させるようセキュリティプロトコルを確保する必要があり、これらのアップデートを無視すると、依存アプリケーション内でのキー生成の失敗または設定パラメータの不整合を引き起こす可能性があります。
Text to translate:
The original summary is clear and covers all points. It could be slightly tightened for conciseness but does not need significant improvement. I will return the original summary as it meets the quality criteria well, perhaps with a minor polish to ensure the distinction between "key type name" and "security algorithm" is perfectly sharp (which the original attempts to do).
Summary:
The primary update concerns a change in OpenSSL's source file metadata for
ssh-keygen.c, specifically shifting the default key type name from "ed25519" to "ecdsa" and increasing the default ECDSA bit length from 256 to 384. These adjustments were made by committer djm, updating the record date from November 29, 2026, to December 3, 2026, while retaining the original 1994 copyright and authorship of Tatu Ylonen. Although the file version number incremented from 1.512 to 1.513, the core security algorithm remains unchanged, with standard key generation still defaulting to a robust 3072 bits. This modification means that any existing scripts or configuration files hard-coded to expect the old "ed25519" naming convention or relying on the previous 256-bit ECDSA standard must be updated to avoid compatibility errors. Developers need to ensure their security protocols adapt to this new 384-bit requirement without disrupting the established cryptographic strength of the system, as ignoring these updates could result in failed key generation or mismatched configuration parameters within dependent applications.本文
SSH キー生成のデフォルト設定と仕様
SSH クライアントまたはサーバー (
ssh-keygen) が使用する、RSA および ECDSA キーの生成に関するデフォルト値と定数定義を整理します。
デフォルトのキー種別
- 既定のキータイプ名は
と設定されます。ecdsa- 定義:
#define DEFAULT_KEY_TYPE_NAME "ecdsa"
- 定義:
キー生成時のデフォルトビット数
管理基準書 (Management Part) に準拠した以下のサイズが使用されます。
| キー種別 | デフォルトビット数 | 定義記述 |
|---|---|---|
| RSA | 3072 ビット | |
| ECDSA | 384 ビット | |
キーコメントの制限
- キー名(コメント)に使用できる文字列の最大長は、ホスト名の最大長に 1024 を加えた値です。
- 定義:
#define KEY_COMMENT_MAX (NI_MAXHOST + 1024)
- 定義:
関連ヘッダーおよび著作権情報
- 使用されるヘッダー:
ssh-pkcs11.h - 著者: Tatu Ylonen (
)ylo@cs.hut.fi - 著作権 (c): 1994 年、Tatu Ylonen およびフィンランド・エスポオ
- ソース情報: OpenBSD プロジェクトの
ファイルより引用ssh-keygen.c