blob: ee916c42d43e0867837e941edb8512efac06130d [file] [log] [blame]
Andrew Geissler6aa7eec2023-03-03 12:41:14 -06001In 8.8 OpenSSH disabled sha1 rsa-sha keys out of the box,
2so we need to re-enable them as a workaround for the test
3suite until upstream updates the tests.
4
5See: https://github.com/libssh2/libssh2/issues/630
6
7Upstream-Status: Backport [alternative fixes merged upstream]
8
9Patch taken from https://github.com/mirror-rpm/libssh2/commit/47f7114f7d0780f3075bad51a71881f45cc933c5
10
11--- a/tests/ssh2.sh
12+++ b/tests/ssh2.sh
13@@ -25,7 +25,8 @@ $SSHD -f /dev/null -h "$srcdir"/etc/host
14 -o 'Port 4711' \
15 -o 'Protocol 2' \
16 -o "AuthorizedKeysFile $srcdir/etc/user.pub" \
17- -o 'UsePrivilegeSeparation no' \
18+ -o 'HostKeyAlgorithms +ssh-rsa' \
19+ -o 'PubkeyAcceptedAlgorithms +ssh-rsa' \
20 -o 'StrictModes no' \
21 -D \
22 $libssh2_sshd_params &
23