Skip to content

Commit 22e7a3e

Browse files
dstebilaclaude
andauthored
Skip extmu ML-DSA variants in generic signature tests (#152)
liboqs main now enables the external-mu ML-DSA variants (ML-DSA-44-extmu, ML-DSA-65-extmu, ML-DSA-87-extmu). These cannot be signed via the standard OQS_SIG_sign path, so the generic correctness tests in test_sig.py, which iterate over all enabled mechanisms and call plain sign(), fail with "RuntimeError: Can not sign message". Exclude the extmu variants from the generic sign/verify tests to unblock CI. Proper support (a dedicated external-mu signing path plus tests) is tracked in #151. Signed-off-by: Douglas Stebila <dstebila@uwaterloo.ca> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 67dbaea commit 22e7a3e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tests/test_sig.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
import oqs
55
from oqs.oqs import Signature, native
66

7-
# Sigs for which unit testing is disabled
8-
disabled_sig_patterns = []
7+
# Sigs for which unit testing is disabled.
8+
#
9+
# The ML-DSA "external mu" (extmu) variants require an externally computed mu
10+
# and cannot be signed via the standard sign() API, so exclude them from the
11+
# generic sign/verify correctness tests. See
12+
# https://github.com/open-quantum-safe/liboqs-python/issues/151.
13+
disabled_sig_patterns = ["extmu"]
914

1015
if platform.system() == "Windows":
1116
disabled_sig_patterns = [""]

0 commit comments

Comments
 (0)