signed web citations
When an application summarizes or quotes an article, readers currently have no cryptographic proof that the quoted excerpt matches what the publisher actually served. This lab signs origin bytes using RFC 9530 Content-Digest and RFC 9421 HTTP Message Signatures and verifies them directly inside the browser via crypto.subtle.verify().
Hypothesis
Combining RFC 9530
Content-Digestand RFC 9421 HTTP Message Signatures lets browsers verify offline or in-tab that a quoted passage or transcluded card matches exact origin bytes served by the publisher.
What confirms it: Origin signatures validate via browser crypto.subtle.verify() against /.well-known/http-message-signatures-directory, and altering a single word highlights the diff and invalidates the signature immediately.
What falsifies or bounds it: Dynamic ad wrappers, CDN HTML rewrites, or minor whitespace normalization break byte-level Content-Digest checks across real websites unless canonical block spans are signed independently.
What this lab tests
When downstream tools summarize pages or transclude snippets, readers currently lack cryptographic proof that quoted spans match what the origin actually served.
Signed Web Citations (GitHub) emits real RFC 9530 Content-Digest (SHA-256) and RFC 9421 HTTP Message Signatures headers (Signature-Input, Signature) over origin payloads paired with /.well-known/http-message-signatures-directory. Mutating a single word highlights the exact diff and causes browser crypto.subtle.verify() to fail.
Open questions
- Can canonical text-fragment spans or block-level digests survive CMS template tweaks better than whole-body signatures?
- What minimal key-discovery UX lets any reader inspect publisher signature validity without trusting an intermediary aggregator?
Iteration log
- — Built edge RFC 9421 + RFC 9530 signer,
/.well-known/http-message-signatures-directory, and live browser tamper verifier. - — Wired
/.well-knownJWK discovery, signed per-paragraphX-Block-Digestswith a CDN wrapper/whitespace falsification test, LCS word diffs, CSP-safe syntax highlighting, 700px layout fixes, and Worker CSP/no-cacheheaders.
Primitives tested: RFC 9421 HTTP Message Signatures, Content-Digest SHA-256, crypto.subtle, #:~:text=.
This is an active lab under /labs/ and stays off the main RSS feed until graduated into a full essay.