File: skip-dsa-test.patch

package info (click to toggle)
rust-ssh-key 0.6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,008 kB
  • sloc: makefile: 2
file content (19 lines) | stat: -rw-r--r-- 700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Skip encode_dsa_openssh test due to OpenSSH 10 DSA removal
 DSA support was completely removed from OpenSSH 10
 (https://www.openssh.org/txt/release-10.0). The encode_dsa_openssh test calls
 ssh-keygen which no longer supports DSA.
Author: Nadzeya Hutsko <nadzya.info@gmail.com>
Forwarded: https://github.com/RustCrypto/SSH/issues/424
Last-Update: 2025-11-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/private_key.rs
+++ b/tests/private_key.rs
@@ -403,6 +403,7 @@
 
 #[cfg(all(feature = "alloc"))]
 #[test]
+#[ignore = "DSA is no longer supported by modern OpenSSH/ssh-keygen"]
 fn encode_dsa_openssh() {
     encoding_test(OPENSSH_DSA_EXAMPLE)
 }