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

Commit 24b6e9c

Browse files
committed
feat(auth_enclave): add token issuance and persistance
1 parent 73b91d4 commit 24b6e9c

File tree

9 files changed

+496
-8
lines changed

9 files changed

+496
-8
lines changed

rtc_auth_enclave/Cargo.lock

Lines changed: 173 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rtc_auth_enclave/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@ cbindgen = "0.19.0"
1515

1616
# See "Pinning SGX dependencies" in HACKING.md
1717
[target.'cfg(not(target_env = "sgx"))'.dependencies]
18+
sgx_tcrypto = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk.git", rev = "b9d1bda" }
1819
sgx_types = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk.git", rev = "b9d1bda", features = ["extra_traits"] }
1920
sgx_tstd = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk.git", rev = "b9d1bda", features = ["backtrace"] }
21+
rand = { git = "https://github.com/mesalock-linux/rand-sgx", tag = "v0.7.3_sgx1.1.3" }
22+
jsonwebtoken = { git = "https://github.com/mesalock-linux/jsonwebtoken-sgx" }
23+
# TODO: confirm that we have to use a forked crate here
24+
uuid = { git = "https://github.com/mesalock-linux/uuid-sgx", features = ["v4", "serde"] }
25+
serde = { git = "https://github.com/mesalock-linux/serde-sgx", feature = ["derive"] }
26+
serde_json = { git = "https://github.com/mesalock-linux/serde-json-sgx", tag = "sgx_1.1.3" }
27+
once_cell = { git = "https://github.com/mesalock-linux/once_cell-sgx.git", tag = "sgx_1.1.3" }
28+
base64 = { git = "https://github.com/mesalock-linux/rust-base64-sgx" }
29+
30+
secrecy = { version = "0.7.0", default-features = false }
2031

2132
rtc_types = { path = "../rtc_types", features = ["teaclave_sgx"] }
2233

0 commit comments

Comments
 (0)