File: 0012-tests-drop-CSF-tests.patch

package info (click to toggle)
rnp 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,656 kB
  • sloc: cpp: 74,613; python: 5,272; ansic: 5,035; sh: 1,661; makefile: 25
file content (46 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Wed, 15 Oct 2025 10:50:20 -0400
Subject: tests: drop CSF tests

GnuPG doesn't implement the cleartext signing framework according to
spec, and has declined to fix it (https://dev.gnupg.org/T7106).
Testing against GnuPG's CSF implementations is a mistake.
---
 src/tests/cli_tests.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/tests/cli_tests.py b/src/tests/cli_tests.py
index e13b99a..6a29a6f 100755
--- a/src/tests/cli_tests.py
+++ b/src/tests/cli_tests.py
@@ -5169,14 +5169,12 @@ class SignDefault(unittest.TestCase):
         for size in Sign.SIZES:
             rnp_signing_rnp_to_gpg(size)
             rnp_detached_signing_rnp_to_gpg(size)
-            rnp_cleartext_signing_rnp_to_gpg(size)
 
     def test_gpg_to_rnp_default_key(self):
         for size in Sign.SIZES:
             rnp_signing_gpg_to_rnp(size)
             rnp_detached_signing_gpg_to_rnp(size)
             rnp_detached_signing_gpg_to_rnp(size, True)
-            rnp_cleartext_signing_gpg_to_rnp(size)
 
     def test_rnp_multiple_signers(self):
         USERIDS = ['sign1@rnp', 'sign2@rnp', 'sign3@rnp']
@@ -5209,7 +5207,6 @@ class SignDefault(unittest.TestCase):
 
             # Cleartext signing
             rnp_sign_cleartext(src, dst, USERIDS[:keynum], KEYPASS[:keynum])
-            gpg_verify_cleartext(dst)
             rnp_verify_cleartext(dst)
             remove_files(dst)
 
@@ -5249,7 +5246,6 @@ class SignDefault(unittest.TestCase):
 
             # Cleartext signing
             rnp_sign_cleartext(src, dst, USERIDS[:keynum], KEYPASS[:keynum])
-            gpg_verify_cleartext(dst)
             rnp_verify_cleartext(dst)
             remove_files(dst)