/[smeserver]/rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11359.patch
ViewVC logotype

Contents of /rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11359.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 19 04:11:15 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-openssh-2_6_0-7_el7_sme, e-smith-openssh-2_6_0-6_el7_sme, e-smith-openssh-2_6_0-8_el7_sme, e-smith-openssh-2_6_0-5_el7_sme, HEAD
Error occurred while calculating annotation data.
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
- increase default host key size [SME: 11359]

1 diff -Nur e-smith-openssh-2.6.0.old/root/sbin/e-smith/systemd/sshd-prepare e-smith-openssh-2.6.0/root/sbin/e-smith/systemd/sshd-prepare
2 --- e-smith-openssh-2.6.0.old/root/sbin/e-smith/systemd/sshd-prepare 2021-02-18 17:39:18.638000000 -0500
3 +++ e-smith-openssh-2.6.0/root/sbin/e-smith/systemd/sshd-prepare 2021-02-18 17:39:49.296000000 -0500
4 @@ -29,7 +29,7 @@
5 do_rsa_keygen() {
6 if [ ! -s $RSA_KEY ]; then
7 echo -n $"Generating SSH2 RSA host key: "
8 - if $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' >&/dev/null; then
9 + if $KEYGEN -q -t rsa -b 4096 -f $RSA_KEY -C '' -N '' >&/dev/null; then
10 chmod 600 $RSA_KEY
11 chmod 644 $RSA_KEY.pub
12 echo "Success: RSA key generation"
13 @@ -60,7 +60,7 @@
14 do_ecdsa_keygen() {
15 if [ ! -s $ECDSA_KEY ]; then
16 echo -n $"Generating SSH2 ECDSA host key: "
17 - if $KEYGEN -q -t ecdsa -f $ECDSA_KEY -C '' -N '' >&/dev/null; then
18 + if $KEYGEN -q -t ecdsa -b 521 -f $ECDSA_KEY -C '' -N '' >&/dev/null; then
19 chmod 600 $ECDSA_KEY
20 chmod 644 $ECDSA_KEY.pub
21 echo "Success: ECDSA key generation"

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed