Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

feat: trusted key-value store using sgxfs #61

Merged
merged 29 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1e35346
deps(rtc_tenclave): add serde & serde_json (sgx and std versions, for…
PiDelport May 15, 2021
f2c4540
deps(rtc_tenclave): work around serde-json-sgx / Cargo version handli…
PiDelport May 15, 2021
063f43e
deps(rtc_tenclave): add proptest for dev
PiDelport May 15, 2021
9aa846e
feat(rtc_tenclave,kv_store): add key-value store module
PiDelport May 15, 2021
e8b785f
deps(rtc_tenclave): add hex (no_std)
PiDelport May 17, 2021
23486e1
feat(rtc_tenclave): add filesystem-based FsStore and SgxFsStore
PiDelport May 17, 2021
b3eea8e
refactor(rtc_tenclave,kv_store): rework FsStore, extract Filer trait
PiDelport May 19, 2021
dc12fe6
style(rtc_tenclave,tests): whitespace inside macro
PiDelport May 19, 2021
4d1a8c8
test(rtc_tenclave): pull function out of proptest macro
PiDelport May 19, 2021
80a1d5e
deps(rtc_tenclave): add tempfile for tests
PiDelport May 19, 2021
5f8bbcc
test(rtc_tenclave): simplify using tempfile::TempDir
PiDelport May 19, 2021
674a428
test(rtc_tenclave,kv_store,std_filer): basic test coverage
PiDelport May 19, 2021
6d08635
refactor(rtc_tenclave,kv_store): add Option to Filer.get() result type
PiDelport May 19, 2021
94fb6d3
feat(rtc_tenclave,kv_store): handle NotFound in Filer
PiDelport May 19, 2021
35fad2c
check(rtc_tenclave,kv_store): mark functions currently only reference…
PiDelport May 19, 2021
89d8eb2
refactor(rtc_tenclave,kv_store): take save() value by reference
PiDelport May 19, 2021
fe14405
feat(rtc_tenclave,kv_store): add delete operation
PiDelport May 19, 2021
b864be9
test(rtc_tenclave,kv_store): clean up, and test delete operations too
PiDelport May 19, 2021
a1524d0
feat(rtc_tenclave,kv_store): add alter operation
PiDelport May 20, 2021
3ae2641
refactor(rtc_tenclave,kv_store): mark inspect module test-only
PiDelport May 20, 2021
d00a56a
style(rtc_tenclave,kv_store): reorder mod declarations a bit better
PiDelport May 20, 2021
b45cb78
refactor(rtc_tenclave,kv_store): rename InspectStore as_map → to_map
PiDelport May 20, 2021
0712677
refactor(rtc_tenclave,kv_store): remove Result from FsStore::new
PiDelport May 20, 2021
9fcc17d
refactor(rtc_tenclave,kv_store): use associated Error type for KvStore
PiDelport May 20, 2021
b772c56
refactor(rtc_tenclave): drop use of feature(impl_trait_in_bindings)
PiDelport May 20, 2021
ff889dd
style(rtc_tenclave,kv_store): clippy(toplevel_ref_arg)
PiDelport May 20, 2021
2b1122b
style(rtc_tenclave,kv_store): clippy(unit_cmp)
PiDelport May 20, 2021
ef3313b
refactor(rtc_tenclave,kv_store): pull out encode_to_fs_safe / decode_…
PiDelport May 20, 2021
1d53fa4
test(rtc_tenclave,kv_store): round-trip encode_to_fs_safe and decode_…
PiDelport May 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 41 additions & 5 deletions rtc_auth_enclave/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 30 additions & 2 deletions rtc_data_enclave/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rtc_data_enclave/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rtc_types = { path = "../rtc_types", features = ["teaclave_sgx"]}
rtc_tenclave = { path = "../rtc_tenclave" }

[dependencies]
# The build fails when specifying rev here, I don't know what is causing it.
# XXX: See comment about serde-sgx dependency versioning in rtc_tenclave/Cargo.toml
serde_derive = { git = "https://github.com/mesalock-linux/serde-sgx" }
serde = { git = "https://github.com/mesalock-linux/serde-sgx", features = ["derive"]}
bincode = { git = "https://github.com/mesalock-linux/bincode-sgx.git" }
Expand Down
Loading