Repository navigation
feat(gcs): Add resumable uploads #609
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
55 commits
Select commit
Hold shift + click to select a range
840752a
feat(gcs): Add resumable uploads
lcian a6411cf
fix(resumable): Harden GCS session handling
lcian acb8bf8
fix(resumable): Always encrypt session tokens
lcian 5d89b28
fix(resumable): Limit backend support to GCS
lcian d9c6f82
docs(resumable): Describe protected session tokens
lcian e62c9c0
ref(resumable)!: Clarify upload completion semantics
lcian 9289e52
fix(gcs): Honor completion after resumable offset gaps
lcian 8044720
wip
lcian 62762a3
wip
lcian 4f9e7c3
test(server): Restore resumable routing coverage
lcian d5f882e
ref(resumable): Store the active encryption key directly
lcian c7e184c
ref(resumable): Encapsulate token encryption key use
lcian c830653
ref(resumable): Simplify token AEAD key storage
lcian 9470202
ref(gcs): Inline resumable protocol values
lcian 3049751
ref(resumable): Remove session format versioning
lcian d4e0d06
ref(gcs): Name resumable session storage path
lcian 6606025
ref(gcs): Type resumable session URI as URL
lcian c245f19
ref(resumable): Bind sessions at service boundary
lcian b9f9c73
ref(gcs): Simplify resumable session tokens
lcian 154fef5
improve gcs
lcian ab2cf80
Merge branch 'main' into feat/gcs-resumable-uploads
lcian c197ce1
fix
lcian 2c54836
improve
lcian 8ab626a
improve
lcian 9220555
improve
lcian ab34dbb
ref(gcs): Parse resumable responses in a free function
lcian 88c4a1c
improve
lcian 9bd703b
improve
lcian 288b1ff
improve
lcian b95332a
improve
lcian b50835d
improve
lcian 14c71ab
fix
lcian 286890b
improve
lcian eef49be
improve
lcian 9293adf
improve
lcian a33db72
wip
lcian 1432a07
ref(service)!: Require encryptor at construction
lcian 154d35a
remove unneeded test
lcian 7fc509e
feat(config): Load resumable keys via serde-vars
lcian 7f24a20
ref(config): Keep resumable keys as strings
lcian 34228bf
ref(config): Deserialize raw resumable keys
lcian 4b5bcf7
ref(config): Simplify raw key serialization
lcian f65fe9a
fix(gcs): Report recovered resumable writes
lcian 5528055
rename session -> token
lcian 4e64ddc
use an enum for progress in gcs
lcian 7aa8f33
inline function, use question mark
lcian ef91dae
question mark more
lcian a4160ad
reject length 0 and enforce via types
lcian d928593
improve
lcian 8dd3aa5
change error messages
lcian 8042b46
add code comments
lcian 234289d
comment
lcian d2a1b20
improve
lcian 96f3415
simplify key deserialization, remove unnecessary test
lcian 9da72f2
versioning for token encryption
lcian 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to make this configuration independent of resumable uploads. This is a key that can be used for any symmetric encryption business, which includes but does not have to be limited to resumable uploads.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to do this in a follow-up, along with making the
Encryptorgeneric or at least more general.