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"