[Bug 3692] New: rekey.sh doesn't actually test different algorithms

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed May 22 06:22:54 AEST 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3692

            Bug ID: 3692
           Summary: rekey.sh doesn't actually test different algorithms
           Product: Portable OpenSSH
           Version: 9.7p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-bugs at mindrot.org
          Reporter: nreilly at blackberry.com

In rekey.sh there is a function ssh_data_rekeying(). It sets the first
parameter as _kexopt but then 2 lines later tests _kexopts - note the
trailing "s":

ssh_data_rekeying()
{
        _kexopt=$1 ; shift
        _opts="$@"
        if ! test -z "$_kexopts" ; then
                cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
                echo "$_kexopt" >> $OBJ/sshd_proxy
                _opts="$_opts -o$_kexopt"
        fi

This means that the various algorithms never are set and so it tests
the same default algorithm over and over.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list