SEQLUDE
Receipt check

Trust nothing.
Check it.

Drop a Seqlude receipt here. Every check runs inside this page, so the receipt and any chat text never leave your device.

or drop it here, or paste it below

What gets checked

  1. Signature. The receipt’s Ed25519 signature must match every field. Change one character and it fails.
  2. Signer. The key must be in Seqlude’s published key list and must have been active on the receipt’s date.
  3. Content. With a file that includes the chat text, the text is hashed again and must match the receipt exactly. A receipt alone shows “Content not checked”.
  4. Limits. A receipt proves what Seqlude says it sent and received. It does not prove an answer is true, and it does not prove which model wrote it.

Check it yourself

You don’t have to trust this page. A receipt is signed with Ed25519 over these exact bytes:

  1. Remove payload_signature from the receipt.
  2. Write the rest as canonical JSON (JCS, RFC 8785).
  3. Put seqlude-receipt-v1 and a newline in front. This label is the step plain JCS misses. It stops a Seqlude signature from being reused anywhere else.
  4. Check payload_signature (base64url) against those bytes, using the public key for the receipt’s key_id from the published key list. Keys are raw 32-byte Ed25519, base64url.

The text fingerprints follow one rule too: base64url(SHA-256(tag + 0x00 + salt + JCS(value))), with tags such as seqlude/answer/v1. The salts come in the file with chat text.

// check-receipt.mjs  ·  Node 20+  ·  node check-receipt.mjs receipt.json
import { readFileSync } from "node:fs";

// Standard JCS (RFC 8785). Receipts only hold strings, so this short version is enough.
const jcs = v => v === null || typeof v !== "object" ? JSON.stringify(v)
  : Array.isArray(v) ? "[" + v.map(jcs).join(",") + "]"
  : "{" + Object.keys(v).sort().map(k => JSON.stringify(k) + ":" + jcs(v[k])).join(",") + "}";
const b64u = s => Buffer.from(s, "base64url");

const file = JSON.parse(readFileSync(process.argv[2], "utf8"));
const receipt = file.receipt ?? file;            // a receipt, or a file with chat text
const { payload_signature, ...payload } = receipt;

const list = await (await fetch("https://seqlude.xyz/.well-known/seqlude-keys.json")).json();
const entry = list.keys.find(k => k.key_id === receipt.key_id);
if (!entry) throw new Error("Unknown key: " + receipt.key_id);
const key = await crypto.subtle.importKey("raw", b64u(entry.public_key), "Ed25519", false, ["verify"]);

// The one step plain JCS misses: the "seqlude-receipt-v1" line goes in front.
const bytes = new TextEncoder().encode("seqlude-receipt-v1\n" + jcs(payload));
const ok = await crypto.subtle.verify("Ed25519", key, b64u(payload_signature), bytes);
console.log(ok ? "Signature OK" : "Signature does NOT match");