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 9431d39..4e39def 100755
--- a/src/tests/cli_tests.py
+++ b/src/tests/cli_tests.py
@@ -5138,14 +5138,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']
@@ -5178,7 +5176,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)
@@ -5218,7 +5215,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)
|