eBPF-based security platform
testing: group operator signing tests
John Fastabend62a061aba69a
diff --git a/testing/t0027-genkey.sh b/testing/signing/t0027-genkey.shsimilarity index 99%rename from testing/t0027-genkey.shrename to testing/signing/t0027-genkey.shindex 70fce4dc..20a25159 100755--- a/testing/t0027-genkey.sh+++ b/testing/signing/t0027-genkey.sh@@ -9,7 +9,7 @@# algorithm; on older toolchains genkey must refuse with an upgrade hint.# A --force that cannot put the new pair in place leaves the old one.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shSHIRUDO=${SHIRUDO_GENKEY_TEST_BINARY:-../shirudo}diff --git a/testing/t0029-mldsa-sign.sh b/testing/signing/t0029-mldsa-sign.shsimilarity index 99%rename from testing/t0029-mldsa-sign.shrename to testing/signing/t0029-mldsa-sign.shindex 11992d07..a816f96c 100755--- a/testing/t0029-mldsa-sign.sh+++ b/testing/signing/t0029-mldsa-sign.sh@@ -12,7 +12,7 @@# an ML-DSA key of a smaller parameter set than ML-DSA-87.# Needs clang and shirudo-build; the ML-DSA cases need OpenSSL >= 3.5.-cd "$(dirname "$0")"+cd "$(dirname "$0")/..". ./test-lib.shS=../shirudodiff --git a/testing/upatch/infra/test.plan.md b/testing/upatch/infra/test.plan.mdindex ee9f6564..dfd58abc 100644--- a/testing/upatch/infra/test.plan.md+++ b/testing/upatch/infra/test.plan.md@@ -9,7 +9,7 @@ this review.| ID | Mechanism case | Status | Existing test | Planned assertion or notes ||---|---|---|---|---|-| UI-01 | Operator signing accepts ML-DSA-87 and rejects RSA | Covered | `t0029-mldsa-sign.sh` | Keep the algorithm rejection, CMS structure, size, signed-content verification and tamper rejection checks. |+| UI-01 | Operator signing accepts ML-DSA-87 and rejects RSA | Covered | `signing/t0029-mldsa-sign.sh` | Keep the algorithm rejection, CMS structure, size, signed-content verification and tamper rejection checks. || UI-02 | Malformed `.upatch` files fail cleanly | Covered | `t0004-upatch-parse.sh` | Empty, truncated, random, bogus-magic, missing-file and directory inputs must fail without a signal. || UI-03 | Reader validates file size, structured header and section bounds | Covered | `t0004-upatch-parse.sh` | Oversized file, unsupported version, both reserved words, zero required lengths, header overlap, and out-of-file or overflowing ranges fail cleanly; a structured control parses. || UI-04 | Valid signed decoder metadata is reported and executed | Covered | `t0005-upatch-decoders.sh` | Keep metadata fields, JSON output, OTLP value conversion, instruction and memory limits, and invalid UTF-8 checks. |