Skip to content

fix: README modes/setup gaps and restore Java cross-language verification test#4

Merged
rmhrisk merged 1 commit intomainfrom
fix/readme-modes-setup-java-test
Mar 15, 2026
Merged

fix: README modes/setup gaps and restore Java cross-language verification test#4
rmhrisk merged 1 commit intomainfrom
fix/readme-modes-setup-java-test

Conversation

@rmhrisk
Copy link
Copy Markdown
Contributor

@rmhrisk rmhrisk commented Mar 15, 2026

README.md: Adds proper Setup section with install steps, explains all three payload modes before the interop tables (Mode 0 unimplemented, Mode 1 default, Mode 2 limitation), renames the API section to avoid duplication.

MlDsaVerifyTest.java: Restores the end-to-end verification test that was deleted because it read from /home/claude/interop-test/. Rewritten to generate all fixtures inline using the Java issuer — tests the same ML-DSA-44 code paths without external file dependencies. Java test count: 9 → 10.

…tion test

README.md
  - Rename 'Quick start' to 'Setup and quick start'; add install steps for
    TypeScript (ts/sdk needs separate npm install from ts/), Docker Compose
    entry, and explanation of MTA_SIG_ALG / MTA_ORIGIN env vars
  - Add 'Payload modes' section before the interop tables explaining Mode 0
    (not yet implemented), Mode 1 (default, proof embedded), and Mode 2
    (online, no proof embedded, SDK does not fetch tiles) — with the critical
    Mode 2 limitation called out clearly
  - Retitle 'Payload modes' API section to 'Payload mode API' to avoid
    duplicating the explanation

MlDsaVerifyTest.java
  - Restore the cross-language end-to-end verification test that was deleted
    when it referenced /home/claude/interop-test/ (an absolute path only
    present on the development machine)
  - Rewritten as issueAndVerifyEndToEnd(): uses the Java issuer to generate
    a Mode 1 ML-DSA-44 payload and trust config inline, then verifies with
    the Java verifier — covers the same code paths (checkpoint body construction,
    ML-DSA-44 note signing, cosignature quorum, inclusion proof, TBS decode)
    without any external file dependencies
  - Java test count restored from 9 back to 10
@rmhrisk rmhrisk merged commit 514e4e1 into main Mar 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant