-
Notifications
You must be signed in to change notification settings - Fork 245
Wire AES-GCM encryption into serialization layer #1251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2652769
fix(core): chain unconsumed event check onto promiseQueue to prevent …
TooTallNate 8b468ed
fix: chain hydrateWorkflowArguments onto promiseQueue to prevent fals…
TooTallNate 8ac1292
fix: use setTimeout(0) macrotask for unconsumed check to ensure VM pr…
TooTallNate afe7ee6
fix: increase unconsumed event check delay to 100ms for cross-VM prom…
TooTallNate 82f0c90
Add browser-compatible AES-GCM to core and HKDF key derivation to wor…
TooTallNate 5966a61
update changeset
TooTallNate b73b39e
Move HKDF key derivation server-side: API returns per-run derived key
TooTallNate ccc1173
Refactor encrypt/decrypt to accept CryptoKey, export importKey for ca…
TooTallNate 46f6e72
Overload getEncryptionKeyForRun: accept context for start(), fetch Wo…
TooTallNate 4c7241c
Split changeset into per-package descriptions for world, world-vercel…
TooTallNate 6966eb8
Remove unnecessary Uint8Array.from() wrapper around Buffer.from()
TooTallNate 90c06d4
Use zod to parse Vercel API response
TooTallNate 458418a
Wire encryption into serialization layer
TooTallNate 07d4f88
Wire AES-GCM encryption into serialization layer
TooTallNate f44a55a
update changeset
TooTallNate ed7663f
Add encryption unit tests: primitives, maybeEncrypt/maybeDecrypt, isE…
TooTallNate 2cfa4f9
Accept CryptoKey in encrypt/decrypt, export importKey for callers to …
TooTallNate cff0001
Fix review comments: cache stream encryption key, remove redundant ca…
TooTallNate 8673a8d
Trying to clean up some type non-sense
TooTallNate ec40d9c
fix: restore world-vercel files to main versions
TooTallNate 854cafe
fix: add type cast for hydrateStepReturnValue return in hook.ts
TooTallNate 38bebbe
fix: address review feedback on encryption PR
TooTallNate 5938837
Revert more unnecessary changes
TooTallNate d6ffeb8
cleanup: remove unused runId param, deduplicate processFrames, add le…
TooTallNate 68c1d98
feat: wire cryptoKey through stream serialize/deserialize pipeline
TooTallNate 904df2b
fix: make cryptoKey required-but-nullable to prevent silent omission,…
TooTallNate 09dd6fe
fix: keep Run#getReadable() sync, resolve encryption key lazily in st…
TooTallNate ba03041
.
TooTallNate bc01397
fix: address review feedback from PR #1251
TooTallNate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@workflow/core": patch | ||
| --- | ||
|
|
||
| Wire AES-GCM encryption into serialization layer with stream support |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.