Skip to content

Reframe encrypted-content appendix: not end-to-end encryption #350

Closed

Description

@alpergundogdu

Why

The encrypted-content-publishing appendix (formerly ADR 006) currently uses "end-to-end encryption" framing in several places. That framing is technically incorrect.

End-to-end encryption means content is encrypted such that only the intended recipient can decrypt — typically using the recipient's public key, or a key uniquely shared between exactly two parties.

What the appendix actually describes:

  • Each blob is encrypted once at ingest with a random symmetric K_blob (XChaCha20-Poly1305).
  • The same ciphertext is served to all authorized clients — that's the whole point of content-addressed caching: one blob, one hash, many recipients.
  • All authorized clients receive the same K_blob (wrapped with the current epoch key on each play request).
  • Access is revoked at the key-distribution layer, not by re-encrypting content.

This is closer to:

  • Broadcast encryption with subscription-gated access
  • Conditional access for content distribution (CAS-style)
  • Encrypted content delivery with key escrow (the app server holds the keys)
  • DRM-style envelope encryption with epoch-rotated access keys

True E2E would mean per-recipient encryption — incompatible with content-addressed caching.

Reframe scope

File-level

  • adr/appendix-encrypted-content-publishing.md — title, intro paragraph, "Decision" framing
  • Suggested new framing: "Encrypted content publishing with epoch-rotated access control" or similar

Cross-references that mention E2E

Audit and reword:

  • README.md (root) — "E2E encryption" bullet in Key Design Decisions (already partially reframed in docs(adr): demote 5 implementation/deployment ADRs to appendices #349 but worth checking)
  • Any architecture.md prose mentioning E2E
  • ADR 012 (Client) — references encrypted content via the appendix
  • ADR 017 (Privacy) — references the encrypted-content surfaces

What to keep

Mechanics

Mostly mechanical s/end-to-end encryption//g sweep, plus title and section heading updates in the appendix itself. Estimated ~30 minutes of editing.

Suggested terminology

Bikeshed during execution; my recommendations:

  • "Encrypted content publishing" for the deployment pattern (already the appendix filename)
  • "Subscription-gated access" for the time-bounded access mechanism
  • "Envelope encryption with epoch-rotated keys" for the technical mechanism

Avoid: "E2E", "end-to-end", "client-only decryption" (which would be true E2E, and isn't what this is).

Sequencing

Lands after #349 merges (no point doing this on a moving base). Independent of the rest of the book-readiness program (#345, #346) but compatible with #345's narrative-connectives pass.

Metadata

Metadata

Assignees

Labels

kind:docs

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions