Open specification
llms-signature/1: signing llms.txt files with Ed25519
Open format, version 1. It is not an official standard: no standards body has reviewed it and no adoption by another site has been observed to date.
llms-signature/1 is a JSON format published at /.well-known/llms-signature.json: it lists the exact SHA-256 of each llms file (llms.txt, llms-full.txt…) and signs it with Ed25519. A reader can check the integrity and provenance of the files they received, with nothing to install.
What the format establishes, and what it does not
- Establishes: at the signedAt date, the listed files are the ones the key holder signed (integrity and provenance).
- Does not establish: the truthfulness of the content, a ranking, an AI citation, or that the key belongs to whoever it claims.
The document
The document is a single JSON object; only payload is signed. It is canonicalised (JCS, RFC 8785), hashed with SHA-256 (digest), then the message “context + line feed + digest” is signed with Ed25519 (RFC 8032).
{
"format": "llms-signature/1",
"status": "signed",
"payload": {
"type": "llms-signature", "format": "llms-signature/1",
"issuer": "https://exemple.test",
"signedAt": "2026-12-03T10:00:00.000Z", "validUntil": "2026-12-04T10:00:00.000Z",
"hashAlgorithm": "SHA-256", "keyId": "rfc8032-test-1",
"jwksUrl": "https://exemple.test/.well-known/jwks.json",
"files": [ { "path": "/llms.txt", "sha256": "<64 hex>", "bytes": 1234 } ]
},
"digest": "<64 hex>",
"signature": { "alg": "Ed25519", "kid": "rfc8032-test-1", "context": "<context>", "value": "<base64url, 64 octets>" }
}Live document of proofxray.com: /.well-known/llms-signature.json (24-hour validity, recomputed on every request).
Verification, step by step
- Reject if format or payload.format is not “llms-signature/1”, if status is not “signed”, if payload.type is not “llms-signature”, if a required field is missing, or if payload contains expiresAt or a certificate field.
- Reject if signature.alg is not Ed25519, if hashAlgorithm is not SHA-256, or if payload.keyId differs from signature.kid.
- Recompute digest = SHA-256 of the JCS form of payload; reject on mismatch.
- Look up signature.kid in the caller's trusted keys; reject if unknown (never “the first key”).
- Verify signature.value (base64url) over the UTF-8 message context + “\n” + digest.
- Reject if payload.validUntil has passed.
- Download each file in payload.files untransformed: its SHA-256 must equal the published value.
JSON Schema
JSON Schema (draft 2020-12) of the document. It describes the structure; it does not replace the cryptographic verification.
Download schema.json /spec/llms-signature/1/schema.json
Real test vector
A real, reproducible test vector: a document signed with RFC 8032 test key no. 1 (a public test key, no production key) over two small sample files. It replays offline, using the verification date it carries.
- digest
- 8f92883c525a1ba692094e634481aa6483259b515619576deb3a58cabfd4fb65
- signature.value
- 68-anV4faYMLD_-EmtWOYpcCshxWN5fJFdkYJK-iyg1Kn-lIsWRpA8GvLU51erjGgK-aTEnIYlBFFyxCys7xCg
- public key (x)
- 11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo
- replay date
- 2026-12-03T12:00:00.000Z
Zero-dependency verification script
The script below uses only node:crypto (Node.js 18 or later). It replays the vector, or verifies a live site.
node verify.mjs test-vector.json
node verify.mjs https://www.proofxray.comHonest limits
- A site's JWKS alone is not an independent source of trust: whoever controls the site also controls its JWKS. Obtain the key through another channel (a pinned key) or accept this limit.
- signedAt is declared by the signer: there is no proof of prior existence.
- No format-level revocation; no signing for third-party sites; third-party countersignature is reserved and not implemented.
- On proofxray.com the document is signed with the key and the “proof-vc-v2” context prefix of the measurement attestation: separation between document types rests on payload.type and on the ban of expiresAt and certificate fields, not on a distinct context.
- An “unsigned” document (no key) authenticates nothing: the digests it lists are not signed.
Licences
- Specification text: CC BY 4.0 licence (https://creativecommons.org/licenses/by/4.0/). Free reuse, including commercial, with credit to “llms-signature/1 — Arthur Mellin” and the address of this page.
- verify.mjs script: MIT licence (Copyright © 2026 Arthur Mellin), full text at the top of the file and in LICENSE.txt.
Cite this specification
To cite this specification, give its title, author, version and address.
Markdown
Arthur Mellin, "llms-signature/1: signing llms.txt files with Ed25519", PROOF X-Ray, version 1, 2026-12-03. [https://www.proofxray.com/en/spec/llms-signature](https://www.proofxray.com/en/spec/llms-signature)BibTeX
@misc{mellin2026llmssignature,
author = {Mellin, Arthur},
title = {{llms-signature/1: signing llms.txt files with Ed25519}},
year = {2026},
month = dec,
howpublished = {\url{https://www.proofxray.com/en/spec/llms-signature}},
note = {PROOF X-Ray, version 1, not an official standard}
}Citable archive (Zenodo DOI)
Autonomous Enterprise Standard and open-source verifier (MIT) : doi:10.5281/zenodo.24738830
Zenodo is a research archive hosted by CERN: PROOF X-Ray has no institutional connection with CERN.