OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   15-Nov-2006 21:44:43
  Branch: HEAD                             Handle: 2006111520444300

  Modified files:
    openpkg-src/openssh     openssh.spec

  Log:
    fix DSA host key generation: the DSA key has to be exactly 1024 bits
    or ssh-keygen will fail. The background is that FIPS 186-2 requires
    DSA keys to be exactly of size 1024 bits.

  Summary:
    Revision    Changes     Path
    1.184       +1  -1      openpkg-src/openssh/openssh.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openssh/openssh.spec
  ============================================================================
  $ cvs diff -u -r1.183 -r1.184 openssh.spec
  --- openpkg-src/openssh/openssh.spec  15 Nov 2006 12:20:31 -0000      1.183
  +++ openpkg-src/openssh/openssh.spec  15 Nov 2006 20:44:43 -0000      1.184
  @@ -386,7 +386,7 @@
       #   generate server DSA (SSH2) key
       if [ ! -f "$RPM_INSTALL_PREFIX/etc/openssh/ssh_host_dsa_key" -o \
            ! -s "$RPM_INSTALL_PREFIX/etc/openssh/ssh_host_dsa_key" ]; then
  -        $RPM_INSTALL_PREFIX/bin/ssh-keygen -t dsa -b 2048 \
  +        $RPM_INSTALL_PREFIX/bin/ssh-keygen -t dsa -b 1024 \
               -f $RPM_INSTALL_PREFIX/etc/openssh/ssh_host_dsa_key \
               -N '' -C `hostname` 1>&2
       fi
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to