AIFeed

OpenSSH: "switch default key type generated to ECDSA NISTP384"

Original text(via Hacker News)

‎ssh-keygen.c‎

题图
题图
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1- / $OpenBSD: ssh-keygen.c,v 1. 512 2026/ 11/29 09:21:40 djm Exp $ /
1+ / $OpenBSD: ssh-keygen.c,v 1. 513 2026/ 12/03 08:40:32 djm Exp $ /
22/*
33* Author: Tatu Ylonen <[email protected]>
44* Copyright (c) 1994 Tatu Ylonen <[email protected]>, Espoo, Finland
@@ -67,7 +67,7 @@
6767#include "ssh-pkcs11.h"
6868#endif
6969
70- #define DEFAULT_KEY_TYPE_NAME " ed25519 "
70+ #define DEFAULT_KEY_TYPE_NAME " ecdsa "
7171
7272/*
7373* Default number of bits in the RSA and ECDSA keys. These value can be
@@ -78,7 +78,7 @@
7878* Management Part 1 rev 4 section 5.6.1.
7979*/
8080#define DEFAULT_BITS 3072
81- #define DEFAULT_BITS_ECDSA 256
81+ #define DEFAULT_BITS_ECDSA 384
8282
8383#define KEY_COMMENT_MAX (NI_MAXHOST + 1024)
8484

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗