Skip to content

feat(rust): support encrypted CDN resolver state#461

Draft
nicklasl wants to merge 7 commits into
mainfrom
nicklasl/encrypted-state-rust
Draft

feat(rust): support encrypted CDN resolver state#461
nicklasl wants to merge 7 commits into
mainfrom
nicklasl/encrypted-state-rust

Conversation

@nicklasl

Copy link
Copy Markdown
Member

Independent of WASM PR (native resolver). Adds encryption_key to ProviderOptions, AES-256-GCM decryption in StateFetcher, header+fallback detection, and 3 tests.

@nicklasl nicklasl force-pushed the nicklasl/encrypted-state-rust branch 4 times, most recently from 74dcfe5 to afd5b10 Compare June 30, 2026 14:59
@nicklasl nicklasl changed the base branch from main to nicklasl/encrypted-state-wasm-core June 30, 2026 14:59
@nicklasl nicklasl changed the base branch from nicklasl/encrypted-state-wasm-core to main June 30, 2026 15:02
@nicklasl nicklasl force-pushed the nicklasl/encrypted-state-rust branch from afd5b10 to 2c3e3a9 Compare June 30, 2026 15:07
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nicklasl nicklasl force-pushed the nicklasl/encrypted-state-rust branch from 2c3e3a9 to d70844e Compare June 30, 2026 15:22
nicklasl and others added 6 commits July 1, 2026 08:12
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Build cdn_url with .enc suffix when encryption_key is set
- Remove header detection and protobuf fallback from fetch()
- Add encryption_key() accessor to StateFetcher
- Warn on init when no encryption_key is provided

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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