summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ssh-keygen.16
-rw-r--r--ssh-keygen.c4
-rw-r--r--sshd.84
4 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index b439cbecd..728026a62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
7 [auth.c auth.h misc.c misc.h ssh.c ssh_config.5 sshconnect.c] 7 [auth.c auth.h misc.c misc.h ssh.c ssh_config.5 sshconnect.c]
8 introduce a generic %foo expansion function. replace existing % expansion 8 introduce a generic %foo expansion function. replace existing % expansion
9 and add expansion to ControlPath; ok markus@ 9 and add expansion to ControlPath; ok markus@
10 - djm@cvs.openbsd.org 2005/06/08 03:50:00
11 [ssh-keygen.1 ssh-keygen.c sshd.8]
12 increase default rsa/dsa key length from 1024 to 2048 bits;
13 ok markus@ deraadt@
10 14
1120050609 1520050609
12 - (dtucker) [cipher.c openbsd-compat/Makefile.in 16 - (dtucker) [cipher.c openbsd-compat/Makefile.in
@@ -2702,4 +2706,4 @@
2702 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2706 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2703 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2707 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2704 2708
2705$Id: ChangeLog,v 1.3817 2005/06/16 03:18:34 djm Exp $ 2709$Id: ChangeLog,v 1.3818 2005/06/16 03:19:06 djm Exp $
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index ac0b72764..5454d00ce 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.68 2005/04/21 06:17:50 djm Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.69 2005/06/08 03:50:00 djm Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -188,8 +188,8 @@ Show the bubblebabble digest of specified private or public key file.
188.It Fl b Ar bits 188.It Fl b Ar bits
189Specifies the number of bits in the key to create. 189Specifies the number of bits in the key to create.
190Minimum is 512 bits. 190Minimum is 512 bits.
191Generally, 1024 bits is considered sufficient. 191Generally, 2048 bits is considered sufficient.
192The default is 1024 bits. 192The default is 2048 bits.
193.It Fl C Ar comment 193.It Fl C Ar comment
194Provides a new comment. 194Provides a new comment.
195.It Fl c 195.It Fl c
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 246c7d50f..828d2be79 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: ssh-keygen.c,v 1.126 2005/05/26 09:08:12 dtucker Exp $"); 15RCSID("$OpenBSD: ssh-keygen.c,v 1.127 2005/06/08 03:50:00 djm Exp $");
16 16
17#include <openssl/evp.h> 17#include <openssl/evp.h>
18#include <openssl/pem.h> 18#include <openssl/pem.h>
@@ -36,7 +36,7 @@ RCSID("$OpenBSD: ssh-keygen.c,v 1.126 2005/05/26 09:08:12 dtucker Exp $");
36#include "dns.h" 36#include "dns.h"
37 37
38/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ 38/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */
39u_int32_t bits = 1024; 39u_int32_t bits = 2048;
40 40
41/* 41/*
42 * Flag indicating that we just want to change the passphrase. This can be 42 * Flag indicating that we just want to change the passphrase. This can be
diff --git a/sshd.8 b/sshd.8
index 6acdda130..fdff4ac91 100644
--- a/sshd.8
+++ b/sshd.8
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd.8,v 1.207 2005/04/21 06:17:50 djm Exp $ 37.\" $OpenBSD: sshd.8,v 1.208 2005/06/08 03:50:00 djm Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -80,7 +80,7 @@ supports both SSH protocol version 1 and 2 simultaneously.
80works as follows: 80works as follows:
81.Ss SSH protocol version 1 81.Ss SSH protocol version 1
82Each host has a host-specific RSA key 82Each host has a host-specific RSA key
83(normally 1024 bits) used to identify the host. 83(normally 2048 bits) used to identify the host.
84Additionally, when 84Additionally, when
85the daemon starts, it generates a server RSA key (normally 768 bits). 85the daemon starts, it generates a server RSA key (normally 768 bits).
86This key is normally regenerated every hour if it has been used, and 86This key is normally regenerated every hour if it has been used, and