Skip to content

Commit

Permalink
Use sha2-v0.8 for musig2-sgx crate (#2758)
Browse files Browse the repository at this point in the history
* restore unittest

* remove comment
  • Loading branch information
Kailai-Wang committed May 26, 2024
1 parent 0f854ba commit ec0065a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 16 deletions.
31 changes: 20 additions & 11 deletions bitacross-worker/Cargo.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ musig2 = { package = "musig2", branch = "master", git = "https://github.com/kzie
rand = { version = "0.8.5", optional = true }

# sgx dependencies
musig2_sgx = { package = "musig2", tag = "v0.0.8", git = "https://github.com/kziemianek/musig2.git", optional = true, features = ["k256"] }
musig2_sgx = { package = "musig2", git = "https://github.com/kailai-wang/musig2.git", branch = "use-sha2-0.8", optional = true, features = ["k256"] }
sgx_rand = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", branch = "master", optional = true, features = ["net", "thread"] }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ k256 = { version = "0.13.3", default-features = false, features = ["ecdsa-core",
lc-direct-call = { path = "../../../litentry/core/direct-call", default-features = false }
litentry-primitives = { path = "../../../litentry/primitives", default-features = false }
musig2 = { package = "musig2", branch = "master", git = "https://github.com/kziemianek/musig2.git", optional = true, features = ["k256"] }
musig2_sgx = { package = "musig2", tag = "v0.0.8", git = "https://github.com/kziemianek/musig2.git", optional = true, features = ["k256"] }
musig2_sgx = { package = "musig2", git = "https://github.com/kailai-wang/musig2.git", branch = "use-sha2-0.8", optional = true, features = ["k256"] }
rand = { version = "0.8.5", optional = true }
sgx_crypto_helper = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", default-features = false }
sgx_rand = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
Expand Down
11 changes: 10 additions & 1 deletion bitacross-worker/enclave-runtime/Cargo.lock

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

3 changes: 1 addition & 2 deletions bitacross-worker/enclave-runtime/src/test/tests_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ pub extern "C" fn test_main_entrance() -> size_t {
itc_parentchain::light_client::io::sgx_tests::sealing_creates_backup,

// test musig ceremony
// temporary commented out as it fails in HW Mode
// bc_musig2_ceremony::sgx_tests::test_full_flow_with_3_ceremonies,
bc_musig2_ceremony::sgx_tests::test_full_flow_with_3_ceremonies,

// these unit test (?) need an ipfs node running..
// ipfs::test_creates_ipfs_content_struct_works,
Expand Down

0 comments on commit ec0065a

Please sign in to comment.