ML-DSA-87 · live on QoreChain's Diana testnet

Make cryptographic integrations hold.

Rivet checks that post-quantum signatures from different libraries, and from QoreChain's on-chain pqcVerify, agree with each other.

@noble/post-quantumTypeScript · signer & verifierOpenSSL 3.5C · signer & verifierpqcVerifyQoreChain precompile · on-chainCROSS-VERIFYVerifiedML-DSA-87signer ≠ verifierattested on Diana
Live from the Diana testnet
Diana block
pqcVerify · valid signature
pqcVerify · tampered signature
Attested reports
Product

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.

rivetpq.vercel.app/dashboard
Rivet dashboard: live Diana network status, pqcVerify probes, registry attester and implementations under test

ScreenshotDashboard: live network status, pqcVerify probes, the registry attester and every implementation under test. Captured from the running app; open it to see the live version.

How it works

Two correct libraries can still disagree.

  1. 01

    Sign

    @noble/post-quantum and OpenSSL 3.5 sign the same vectors from the same seeds.

  2. 02

    Cross-verify

    Every signature goes to every verifier, with pqcVerify pinned to one Diana block.

  3. 03

    Attack

    Bad inputs must be rejected while a valid control is still accepted.

  4. 04

    Attest

    The report hash is signed and published to RivetRegistry, which checks it with pqcVerify.

Tested: @noble/post-quantum, OpenSSL 3.5, pqcVerify
Planned: CIRCL, liboqs, Bouncy Castle (reported as unsupported)

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

On QoreChain

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.

RivetRegistry.sol0xbff74b…22acd4
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));
}

Find the disagreement before your users do.