[Bug] Signature registry: SLH-DSA-128s and SLH-DSA-128f are not FIPS 205 parameter sets, and no PQC entry fixes pure versus pre-hash or the context string
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- json, typescript
- Domain
- documentation, security
Research direction
Read Section 10.1 and compare its PQC rows with FIPS 204 and FIPS 205. Check the enum values in specification/v0.1.0/request-envelope.json and specification/v0.1.0/handshake.json, plus docs/acs.md, docs/spec/conformance.md, and docs/topics/faq.md; PR #564 touches the same rows and enums. Done means the registered names and signing mode/context are consistent across the specification, enums, and docs, with a test covering valid parameter-set names; coordinate timing around PR #564 and the v0.1.0 wire-version rule.
Written by the indexing model from the issue text.
Description
Checked on integration on 16 Nov 2026. This is about the PQC rows in Section 10.1 of the Instrument specification and the two enums that copy them (Signature.algorithm in specification/v0.1.0/request-envelope.json and signature_algorithms_supported in specification/v0.1.0/handshake.json).
1. SLH-DSA-128s and SLH-DSA-128f are not parameter sets. FIPS 205 Section 11 approves 12 parameter sets, and "Each parameter set name indicates the hash function family (SHA2 or SHAKE)". Table 2 lists SLH-DSA-SHA2-128s and SLH-DSA-SHAKE-128s (both 7,856-byte signatures, which matches the registry's "~7.8 KB"), and the same pair for 128f. The two families instantiate the hash functions differently (Sections 11.1 and 11.2), so a Guardian built on the SHA2 set and a client built on the SHAKE set can both advertise SLH-DSA-128s and still reject each other's signatures. docs/acs.md, docs/spec/conformance.md and docs/topics/faq.md use the same short name.
2. No PQC entry says pure or pre-hash, or which context string. FIPS 204 (Section 5.4) and FIPS 205 (Section 10.2) each define a pure and a pre-hash signing function plus a context string of up to 255 bytes, and both say the identifier "should indicate" pure or pre-hash, and that a non-empty context string should be indicated "by the signature's identifier or the application". The domain separator exists "to prevent pre-hash signatures from verifying as pure signatures and vice versa" (FIPS 205 Section 10.2.1). Section 10 fixes the message (the JCS bytes) but not the mode or the context, so two conforming ML-DSA-65 implementations can still disagree.
Suggested fix (small):
- Register the FIPS 205 names:
SLH-DSA-SHA2-128sandSLH-DSA-SHAKE-128s, and the128fpair, or one family only if the leads prefer fewer options. - Add one sentence to Section 10.1:
ML-DSA-*andSLH-DSA-*are the pure algorithms (FIPS 204 Algorithm 2, FIPS 205 Algorithm 22) with an empty context string; HashML-DSA and HashSLH-DSA are not registered. For ML-DSA this is exactly RFC 9964, the source ofML-DSA-44/65/87in the IANA JOSE registry: "The ctx parameter MUST be the empty string", and it "does not specify algorithms for use with HashML-DSA".
Sequencing. PR #564 rewrites the same registry rows and enums, and its test checks for SLH-DSA-128s, so this should land after it. Renaming enum values changes the v0.1.0 wire, so, like #457, it may wait on the 0.x version rule (#32, item 5).
If a lead accepts this, I can send the PR against integration with DCO sign-off: the registry rows, both enums, the three docs pages, and a test that every PQC enum value is a FIPS 204 or FIPS 205 parameter-set name.
Prepared with AI assistance and reviewed before posting.
John B Joseph, Co-founder & CPTO, Purplecop Security
- Dominant language
- TypeScript
- Stars
- 183
- Forks
- 56
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenAI-Security-Project/agent-control-standard
-
status:needs-triage type:bug workstream:refimpl
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
GenAI-Security-Project/agent-control-standard#764 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 1/5 Under an hour Newbie friendliness 96/100
GenAI-Security-Project/agent-control-standard#717 ·
Maintainers usually reply within 1 day
-
status:needs-triage type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenAI-Security-Project/agent-control-standard#650 ·
Maintainers usually reply within 1 day
-
priority:P1 status:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
GenAI-Security-Project/agent-control-standard#614 · 1 comment ·
Maintainers usually reply within 1 day
-
[Conformance] Tool-call trace spans are dropped by a GenAI backend: no gen_ai.operation.name, span name is not execute_toolMay be free again A pull request for this issue was closed without being merged. Openstatus:needs-triage type:conformance
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GenAI-Security-Project/agent-control-standard#520 · 1 comment ·
Maintainers usually reply within 1 day
All issues in GenAI-Security-Project/agent-control-standard
Similar issues
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TanbirRamim/vibereel#39 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34988 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mastra-ai/mastra#32336 · 1 comment ·
Maintainers usually reply within 1 day