Skip to content

docs(v2): port comparisons (FHE/KMS/HSM/Vault) into the /compare section#43

Open
coderdan wants to merge 2 commits into
v2from
docs/v2-comparisons
Open

docs(v2): port comparisons (FHE/KMS/HSM/Vault) into the /compare section#43
coderdan wants to merge 2 commits into
v2from
docs/v2-comparisons

Conversation

@coderdan

@coderdan coderdan commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Ports the comparison pages into the new IA /compare section (content/docs/compare/), rebased onto v2. Covers the content from #31 (AWS KMS merge + ZeroKMS vs HSM), #34 (HashiCorp Vault), and the existing FHE comparison — the full /compare section per IA.md.

Pages

FHE page: EQL v2 → v3

The FHE comparison was written against EQL v2; it's been rewritten against the v3 EQL reference (content/docs/reference/eql/core-concepts as the source of truth):

  • eql_v2_encrypted → the eql_v3 domain-variant model (text_eq / int8_ord / text_match / text_search), typed-operand casts, and bloom-filter @> for encrypted text match (LIKE is blocked on ciphertext — now stated).
  • Scheme portfolio + leakage rewritten around the v3 terms (hm / ob / bf) and the new order-preserving encryption (OPE) fast path; dropped the unverified BLAKE3 claim.
  • New Real-world performance on EQL v3 section with database-level numbers (0.12 ms exact equality ~1.3× plaintext; OPE range 0.12 ms ~1.2× plaintext; ORE range 4× faster than v2; bloom match 100–400× vs no index — 1M rows, M1 Max, PG 17) from cipherstash/benches PR SEO: fix OG tags, canonicals, titles & meta descriptions (Ahrefs May 2026 audit) #23. The primitive-level TFHE-vs-ORE table (tfhe-ore-bench) is kept.

Adaptation to v2

  • Each page carries v2 facets: type: concept, components, audience, reviewBy (comparisons are claims pages).
  • Intra-comparison links rewritten to /compare/* and the FHE page to /reference/eql; all other cross-links keep pointing at the still-served legacy /stack/... pages.
  • Removed the unreleased Secrets product mention on the Vault page.

Verify before merge

Supersedes #31 and #34 for the v2 branch.

https://claude.ai/code/session_01CqDNqLSEEkCi7xAJFq7HJA

Ports the comparison content from PR #31 (AWS KMS merge + ZeroKMS vs HSM)
and PR #34 (HashiCorp Vault) out of the legacy content/stack tree and into
the new IA `/compare` section:

- content/docs/compare/aws-kms.mdx        (from #31)
- content/docs/compare/zerokms-vs-hsm.mdx (from #31; retains its WIP TODOs)
- content/docs/compare/hashicorp-vault.mdx (from #34)
- public/images/hsm.png                    (from #31)

Each page gains v2 facets (type: concept, components, audience, reviewBy —
the claims-page review date rather than verifiedAgainst). Intra-comparison
links are rewritten to `/compare/*`; all other cross-links keep pointing at
the still-served legacy `/stack/...` pages (which hold the real content
until their sections migrate). The dead `/stack/cipherstash/secrets` link on
the Vault page (no secrets page exists in this repo) is delinked.

The comparisons overview and nav (index.mdx, meta.json) list the three
ported pages. The FHE comparison stays in the legacy tree for now — it is
written against EQL v2 (eql_v2_encrypted, BLAKE3) and needs a v3 content
refresh before porting, tracked separately in IA.md (/compare/fhe port).

Supersedes #31 and #34 for the v2 branch.

Claude-Session: https://claude.ai/code/session_01CqDNqLSEEkCi7xAJFq7HJA
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
public-docs Ready Ready Preview, Comment Jul 5, 2026 7:03am

Request Review

Completes the /compare section: content/docs/compare/fhe.mdx, updated from
EQL v2 to EQL v3 and wired into the overview cards and nav.

- Types/operators: eql_v2_encrypted -> the eql_v3 domain-variant model
  (text_eq / int8_ord / text_match / text_search), typed-operand casts, and
  encrypted text match via bloom-filter `@>` (LIKE is blocked on ciphertext,
  now stated explicitly).
- Scheme portfolio + leakage rewritten around the v3 terms (hm / ob / bf) and
  the new order-preserving encryption (OPE) fast path; dropped the unverified
  BLAKE3 primitive claim.
- New "Real-world performance on EQL v3" section with v3 database-level numbers
  (0.12 ms exact equality ~1.3x plaintext; OPE range 0.12 ms ~1.2x plaintext;
  ORE range 4x faster than v2; bloom match 100-400x vs no index -- 1M rows,
  M1 Max, PG 17), from cipherstash/benches PR #23. Kept the primitive-level
  TFHE-vs-ORE table (tfhe-ore-bench). A public citation for the v3 DB figures
  is flagged with a TODO pending publication.
- Links repointed to the v3 EQL reference (/reference/eql, core-concepts);
  cross-links to un-ported pages keep pointing at the served legacy /stack tree.

Based on the v3 EQL reference; source of truth for terminology and terms is
content/docs/reference/eql/core-concepts.

Claude-Session: https://claude.ai/code/session_01CqDNqLSEEkCi7xAJFq7HJA
@coderdan coderdan changed the title docs(v2): port KMS/HSM/Vault comparisons into the /compare section docs(v2): port comparisons (FHE/KMS/HSM/Vault) into the /compare section Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant