diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2024-07-25 14:23:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-26 12:28:42 +0100 |
commit | b33830b4f60187f928a413556423b3de2add9ef2 (patch) | |
tree | bf83fa87d32b6f6402ad619924995cd413defd93 /meta/recipes-support | |
parent | ac09753064da6b96199af5d1feedd371b24f1a3a (diff) | |
download | poky-b33830b4f60187f928a413556423b3de2add9ef2.tar.gz |
libssh2: fix ptest regression with openssh 9.8p1
(From OE-Core rev: 1a2fef1d70c8083e65325dfa8a5cae7d8443951b)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libssh2/libssh2/0001-test-drop-ssh-dss-openssh_server-config.patch | 30 | ||||
-rw-r--r-- | meta/recipes-support/libssh2/libssh2_1.11.0.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/libssh2/libssh2/0001-test-drop-ssh-dss-openssh_server-config.patch b/meta/recipes-support/libssh2/libssh2/0001-test-drop-ssh-dss-openssh_server-config.patch new file mode 100644 index 0000000000..acab5c3776 --- /dev/null +++ b/meta/recipes-support/libssh2/libssh2/0001-test-drop-ssh-dss-openssh_server-config.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 3ba10a5fe090ef76e4dcb710d3f431a0caecc28d Mon Sep 17 00:00:00 2001 | ||
2 | From: Jose Quaresma <jose.quaresma@foundries.io> | ||
3 | Date: Thu, 25 Jul 2024 14:02:00 +0100 | ||
4 | Subject: [PATCH] test: drop ssh-dss openssh_server config | ||
5 | |||
6 | The ssh-dss was deprecated [1] in the OpenSSH 9.8p1 | ||
7 | |||
8 | Support for ssh-dss, ssh-dss-cert-* host and user keys is disabled | ||
9 | by default at run-time. These may be re-enabled using the | ||
10 | instructions at http://www.openssh.com/legacy.html | ||
11 | |||
12 | [1] https://www.openssh.com/releasenotes.html | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/libssh2/libssh2/pull/1433] | ||
15 | |||
16 | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> | ||
17 | --- | ||
18 | tests/openssh_server/sshd_config | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/tests/openssh_server/sshd_config b/tests/openssh_server/sshd_config | ||
22 | index 1069566f..5cd2b898 100644 | ||
23 | --- a/tests/openssh_server/sshd_config | ||
24 | +++ b/tests/openssh_server/sshd_config | ||
25 | @@ -1,4 +1,4 @@ | ||
26 | HostKeyAlgorithms +ssh-rsa | ||
27 | -PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss,ssh-rsa-cert-v01@openssh.com | ||
28 | +PubkeyAcceptedKeyTypes +ssh-rsa,ssh-rsa-cert-v01@openssh.com | ||
29 | MACs +hmac-sha1,hmac-sha1-96,hmac-sha2-256,hmac-sha2-512,hmac-md5,hmac-md5-96,umac-64@openssh.com,umac-128@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-md5-etm@openssh.com,hmac-md5-96-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com | ||
30 | Ciphers +3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com | ||
diff --git a/meta/recipes-support/libssh2/libssh2_1.11.0.bb b/meta/recipes-support/libssh2/libssh2_1.11.0.bb index dc9b9ae364..d47fc44cbf 100644 --- a/meta/recipes-support/libssh2/libssh2_1.11.0.bb +++ b/meta/recipes-support/libssh2/libssh2_1.11.0.bb | |||
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=24a33237426720395ebb1dd1349ca225" | |||
10 | SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ | 10 | SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \ |
11 | file://run-ptest \ | 11 | file://run-ptest \ |
12 | file://CVE-2023-48795.patch \ | 12 | file://CVE-2023-48795.patch \ |
13 | file://0001-test-drop-ssh-dss-openssh_server-config.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | SRC_URI[sha256sum] = "3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461" | 16 | SRC_URI[sha256sum] = "3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461" |