From 892194f58f243b615aaa8de413b9668b4b0e0db938d33834a33fd09122545a88 Mon Sep 17 00:00:00 2001 From: Petr Cerny Date: Tue, 8 Jan 2013 10:22:21 +0000 Subject: [PATCH] Accepting request 147497 from home:dirkmueller:branches:network - use ssh-keygen(1) default keylengths in generating the host key instead of hardcoding it OBS-URL: https://build.opensuse.org/request/show/147497 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=44 --- openssh-askpass-gnome.spec | 2 +- openssh.changes | 6 ++++++ openssh.spec | 2 +- sshd.init | 6 +++--- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/openssh-askpass-gnome.spec b/openssh-askpass-gnome.spec index 7ccc316..8c99098 100644 --- a/openssh-askpass-gnome.spec +++ b/openssh-askpass-gnome.spec @@ -1,7 +1,7 @@ # # spec file for package openssh-askpass-gnome # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/openssh.changes b/openssh.changes index b481d76..1931dc4 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 8 10:16:45 UTC 2013 - dmueller@suse.com + +- use ssh-keygen(1) default keylengths in generating the host key + instead of hardcoding it + ------------------------------------------------------------------- Tue Nov 13 10:26:37 UTC 2012 - meissner@suse.com diff --git a/openssh.spec b/openssh.spec index 115dac8..2100b61 100644 --- a/openssh.spec +++ b/openssh.spec @@ -1,7 +1,7 @@ # # spec file for package openssh # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/sshd.init b/sshd.init index d5b5a1a..7b174b2 100644 --- a/sshd.init +++ b/sshd.init @@ -47,7 +47,7 @@ case "$1" in if ! grep -q '^[[:space:]]*HostKey[[:space:]]' /etc/ssh/sshd_config; then if ! test -f /etc/ssh/ssh_host_key ; then echo Generating /etc/ssh/ssh_host_key. - ssh-keygen -t rsa1 -b 2048 -f /etc/ssh/ssh_host_key -N '' + ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N '' fi if ! test -f /etc/ssh/ssh_host_dsa_key ; then echo Generating /etc/ssh/ssh_host_dsa_key. @@ -55,11 +55,11 @@ case "$1" in fi if ! test -f /etc/ssh/ssh_host_rsa_key ; then echo Generating /etc/ssh/ssh_host_rsa_key. - ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' + ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' fi if ! test -f /etc/ssh/ssh_host_ecdsa_key ; then echo Generating /etc/ssh/ssh_host_ecdsa_key. - ssh-keygen -t ecdsa -b 256 -f /etc/ssh/ssh_host_ecdsa_key -N '' + ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '' fi fi echo -n "Starting SSH daemon"