Signed-off-by: Jose Quaresma <[email protected]>
---
 ...t-drop-ssh-dss-openssh_server-config.patch | 30 +++++++++++++++++++
 .../recipes-support/libssh2/libssh2_1.11.0.bb |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
meta/recipes-support/libssh2/libssh2/0001-test-drop-ssh-dss-openssh_server-config.patch

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 @@
+From 3ba10a5fe090ef76e4dcb710d3f431a0caecc28d Mon Sep 17 00:00:00 2001
+From: Jose Quaresma <[email protected]>
+Date: Thu, 25 Jul 2024 14:02:00 +0100
+Subject: [PATCH] test: drop ssh-dss openssh_server config
+
+The ssh-dss was deprecated [1] in the OpenSSH 9.8p1
+
+Support for ssh-dss, ssh-dss-cert-* host and user keys is disabled
+by default at run-time. These may be re-enabled using the
+instructions at http://www.openssh.com/legacy.html
+
+[1] https://www.openssh.com/releasenotes.html
+
+Upstream-Status: Submitted [https://github.com/libssh2/libssh2/pull/1433]
+
+Signed-off-by: Jose Quaresma <[email protected]>
+---
+ tests/openssh_server/sshd_config | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/openssh_server/sshd_config 
b/tests/openssh_server/sshd_config
+index 1069566f..5cd2b898 100644
+--- a/tests/openssh_server/sshd_config
++++ b/tests/openssh_server/sshd_config
+@@ -1,4 +1,4 @@
+ HostKeyAlgorithms +ssh-rsa
+-PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss,[email protected]
++PubkeyAcceptedKeyTypes +ssh-rsa,[email protected]
+ MACs 
+hmac-sha1,hmac-sha1-96,hmac-sha2-256,hmac-sha2-512,hmac-md5,hmac-md5-96,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
+ Ciphers 
+3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]
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"
 SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \
            file://run-ptest \
            file://CVE-2023-48795.patch \
+           file://0001-test-drop-ssh-dss-openssh_server-config.patch \
            "
 
 SRC_URI[sha256sum] = 
"3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461"
-- 
2.45.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#202500): 
https://lists.openembedded.org/g/openembedded-core/message/202500
Mute This Topic: https://lists.openembedded.org/mt/107542319/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to