Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d PR/47540: Felix Deichmann: DSA keys can only be 102...



details:   https://anonhg.NetBSD.org/src/rev/bf478739b57f
branches:  trunk
changeset: 784731:bf478739b57f
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 07 19:32:19 2013 +0000

description:
PR/47540: Felix Deichmann: DSA keys can only be 1024 bits.

diffstat:

 etc/rc.d/sshd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 043bd5be7326 -r bf478739b57f etc/rc.d/sshd
--- a/etc/rc.d/sshd     Thu Feb 07 18:53:34 2013 +0000
+++ b/etc/rc.d/sshd     Thu Feb 07 19:32:19 2013 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: sshd,v 1.21 2011/07/25 03:04:23 christos Exp $
+# $NetBSD: sshd,v 1.22 2013/02/07 19:32:19 christos Exp $
 #
 
 # PROVIDE: sshd
@@ -33,7 +33,7 @@
                    "in /etc/ssh/ssh_host_dsa_key"
                echo "Skipping protocol version 2 DSA Key Generation"
        else
-               /usr/bin/ssh-keygen -t dsa ${ssh_keygen_flags} \
+               /usr/bin/ssh-keygen -t dsa -b 1024 \
                    -f /etc/ssh/ssh_host_dsa_key -N ''
        fi
 



Home | Main Index | Thread Index | Old Index