From 2d383febe19bdd43f8a8642170bf9f9c23f72d84 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Fri, 14 Jun 2024 23:17:13 +0000 Subject: [PATCH] fmt --- tee-worker/cli/Cargo.toml | 6 +++--- tee-worker/core-primitives/test/Cargo.toml | 2 +- tee-worker/litentry/core/rsa-wrapper/Cargo.toml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tee-worker/cli/Cargo.toml b/tee-worker/cli/Cargo.toml index cb2665b9a1..6ed6ff1abb 100644 --- a/tee-worker/cli/Cargo.toml +++ b/tee-worker/cli/Cargo.toml @@ -53,13 +53,13 @@ itp-utils = { path = "../core-primitives/utils" } lc-credentials = { path = "../litentry/core/credentials" } # litentry -scale-value = "0.6.0" frame-metadata = "15.0.0" -sp-core-hashing = "6.0.0" ita-sgx-runtime = { path = "../app-libs/sgx-runtime" } +lc-rsa-wrapper = { path = "../litentry/core/rsa-wrapper" } litentry-hex-utils = { path = "../../primitives/hex", default-features = false } litentry-primitives = { path = "../litentry/primitives" } -lc-rsa-wrapper = { path = "../litentry/core/rsa-wrapper" } +scale-value = "0.6.0" +sp-core-hashing = "6.0.0" [features] default = [] diff --git a/tee-worker/core-primitives/test/Cargo.toml b/tee-worker/core-primitives/test/Cargo.toml index 8762e04011..a2aadb05d7 100644 --- a/tee-worker/core-primitives/test/Cargo.toml +++ b/tee-worker/core-primitives/test/Cargo.toml @@ -34,9 +34,9 @@ itp-types = { path = "../types", default-features = false, features = ["test"] } # litentry hex = { version = "0.4.3", default-features = false } +lc-rsa-wrapper = { path = "../../litentry/core/rsa-wrapper", optional = true } lc-teebag-storage = { path = "../../litentry/core/teebag-storage", default-features = false } litentry-primitives = { path = "../../litentry/primitives", default-features = false } -lc-rsa-wrapper = { path = "../../litentry/core/rsa-wrapper", optional = true } [features] default = ["std"] diff --git a/tee-worker/litentry/core/rsa-wrapper/Cargo.toml b/tee-worker/litentry/core/rsa-wrapper/Cargo.toml index 3a8c77044c..f1c2e73e3a 100644 --- a/tee-worker/litentry/core/rsa-wrapper/Cargo.toml +++ b/tee-worker/litentry/core/rsa-wrapper/Cargo.toml @@ -4,8 +4,8 @@ version = "0.1.0" edition = "2021" [dependencies] -sgx_crypto = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk", branch = "v2.0.0-preview", default-features = false, features = ["ucrypto"] } -sgx_types = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk", branch = "v2.0.0-preview" } +num-traits = "0.2.9" rand = "0.8.5" rsa = { version = "0.9.6", features = ["sha2"] } -num-traits = "0.2.9" \ No newline at end of file +sgx_crypto = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk", branch = "v2.0.0-preview", default-features = false, features = ["ucrypto"] } +sgx_types = { git = "https://github.com/apache/incubator-teaclave-sgx-sdk", branch = "v2.0.0-preview" }