Skip to content

feat(encryption): add chunked encryption - #987

Draft
BravoNatalie wants to merge 5 commits into
feat/encryption-envelope-a256kw-recipientsfrom
feat/encryption-envelope-chunked-encryption
Draft

BravoNatalie wants to merge 5 commits into
feat/encryption-envelope-a256kw-recipientsfrom
feat/encryption-envelope-chunked-encryption

Conversation

@BravoNatalie

Copy link
Copy Markdown
Collaborator

Part of #968

What

Add the chunked streaming writer with per-chunk authentication, a library-generated base nonce, final-chunk lookahead, and optional authenticated plaintext length. It supports direct CEKs and A256KW recipients while keeping input buffering bounded by chunk size.

Verification

Package tests and type checks are pending on this PR’s CI run.

@pkg-pr-new

pkg-pr-new Bot commented Sep 26, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/FilOzone/synapse-sdk/@filoz/filecoin-encryption-envelope@987
npm i https://pkg.pr.new/FilOzone/synapse-sdk/@filoz/synapse-core@987
npm i https://pkg.pr.new/FilOzone/synapse-sdk/@filoz/synapse-react@987
npm i https://pkg.pr.new/FilOzone/synapse-sdk/@filoz/synapse-sdk@987

commit: e853a1d

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev e853a1d Commit Preview URL

Branch Preview URL
Sep 26 2026, 12:17 AM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ⌨️ In Progress

Development

Successfully merging this pull request may close these issues.

1 participant