Make cryptographic integrations hold.
Rivet checks that post-quantum signatures from different libraries, and from QoreChain's on-chain pqcVerify, agree with each other.
- Diana block
- pqcVerify · valid signature
- pqcVerify · tampered signature
- Attested reports
Test, attack, report, attest.
Test Lab
Every signer against every verifier, including a live call to pqcVerify.
Attack Lab
Tampered, malformed and replayed signatures must all be rejected.
Reports
Reproducible JSON with versions, vectors and evidence for every verdict.
Registry
Report hashes attested on Diana and verified on-chain with ML-DSA-87.
Real results, not a mock-up.
The first report ran live on Diana: 136 checks, 125 passed, 0 critical. Its 3 failures are finding F-1.
Two correct libraries can still disagree.
- 01
Sign
@noble/post-quantum and OpenSSL 3.5 sign the same vectors from the same seeds.
- 02
Cross-verify
Every signature goes to every verifier, with pqcVerify pinned to one Diana block.
- 03
Attack
Bad inputs must be rejected while a valid control is still accepted.
- 04
Attest
The report hash is signed and published to RivetRegistry, which checks it with pqcVerify.
Finding F-1: Rivet caught pqcVerify rejecting valid signatures over the empty message. QoreChain fixed it at block 10,654,800, and reports from before and after are both on chain. Read the finding
Attestations verified on-chain.
RivetRegistry checks each report's ML-DSA-87 signature through the pqcVerify precompile, with domain separation and replay protection. Anyone can re-verify it from their own browser.
function _pqcVerify(bytes memory pubkey, bytes memory signature, bytes memory message) internal view returns (bool) {
(bool ok, bytes memory ret) =
PQC_VERIFY.staticcall(abi.encodeCall(IQorePQC.pqcVerify, (pubkey, signature, message)));
if (!ok || ret.length != 32) revert PrecompileUnavailable(PQC_VERIFY);
return abi.decode(ret, (bool));
}