forked from fjall-rs/lsm-tree
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: block-level encryption at rest #71
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 25 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
c74eab5
feat: block-level encryption at rest
polaz a5c65fc
fix(encryption): add missing doc sections and fix config field docs
polaz 183ea0b
fix(encryption): account for encryption overhead in block size caps a…
polaz 7eccaab
fix(encryption): move ENCRYPTION_OVERHEAD const to module level
polaz 7861012
feat(encryption): add max_overhead() to EncryptionProvider trait
polaz 64070c8
docs(vlog): acknowledge key range leak in unencrypted blob metadata
polaz 27b7354
test(encryption): add tamper detection integration test
polaz ea18777
fix(encryption): add missing encryption param in metrics-gated test p…
polaz fa8bc8a
docs(encryption): clarify that encryption state is caller-determined
polaz ef46915
refactor(encryption): simplify encrypt/decrypt buffer ownership in Bl…
polaz b5be1fc
fix(encryption): add debug_assert for enc_overhead u32 addition safety
polaz c2be454
fix(encryption): use clippy-approved checked conversion in debug_assert
polaz ed05506
fix(encryption): validate encrypted payload length fits u32 before cast
polaz b4fadaa
docs(encryption): improve from_reader doc on encryption mismatch beha…
polaz c46801f
fix(encryption): validate write-path payload against read-path size cap
polaz 7f90d91
fix(encryption): align write-path size cap with read-path and restric…
polaz 2dbae8e
fix(encryption): validate payload size in u64 before u32 cast in writ…
polaz 0020db7
refactor(encryption): use if-let binding to avoid expect() in from_fi…
polaz 0639432
docs(encryption): clarify blob file and KV separation encryption gaps
polaz 9d09ebc
fix(encryption): cap write-path max_payload at u32::MAX for safe cast
polaz 5f16021
refactor(encryption): unify from_reader size check to u64 arithmetic
polaz 842a5f5
refactor(encryption): change max_overhead() return type from usize to…
polaz 5d81b8e
fix(encryption): resolve clippy cast warnings for max_overhead u32 re…
polaz 21fd832
docs(encryption): qualify from_reader doc with authenticated provider…
polaz 68d9e79
fix(encryption): use MAX_SEQNO instead of u64::MAX in integration tests
polaz 849488d
fix(encryption): replace .expect() with ? in unit tests for clippy co…
polaz 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
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.