Skip to content

feat(encryption): add Filecoin encryption envelope package - #967

Draft
BravoNatalie wants to merge 1 commit into
masterfrom
feat/add-filecoin-envelope-encryption
Draft

BravoNatalie wants to merge 1 commit into
masterfrom
feat/add-filecoin-envelope-encryption

Conversation

@BravoNatalie

Copy link
Copy Markdown
Collaborator

Description

Implements FIP-1253 as written.
This first slice covers chunk layout arithmetic and STREAM nonce derivation, with `cborg` pinned for the COSE layer that follows.
I kept the scope deliberately small: constants, errors, chunk layout, nonce derivation, and tests. CBOR encoding, Web Crypto, streaming, and key wrapping are not implemented yet.
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Sep 16, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcborg@​6.1.210010010095100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Sep 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 4fe24ea

@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 4fe24ea Commit Preview URL

Branch Preview URL
Sep 16 2026, 09:26 PM

@FilOzzy FilOzzy moved this from 📌 Triage to ⌨️ In Progress in FOC Sep 16, 2026
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.

feat(encryption): create the new Filecoin Encryption Envelope package

2 participants