Open Kailai-Wang opened 3 months ago
Thank you for reporting this issue. Fixed. commit
Thanks!
I'm trying to apply newer intel-sdk version to v2.0.0 branch and this problem seems to occur again with intel-sdk-2.21, I'm referring to this dexlabs' version on v2.0.0-sgx-emm
branch
It seems I'll get Unexpected
error with or without this fix.
To reproduce this, simply change the TOML dep to:
sgx_crypto = { git = "https://gitlab.com/dexlabs/incubator-teaclave-sgx-sdk", rev = "1b80455857b16fef02348a5b6db01f2888a49fd5", default-features = false, features = ["ucrypto"] }
I'm trying to apply newer intel-sdk version to v2.0.0 branch and this problem seems to occur again with intel-sdk-2.21, I'm referring to this dexlabs' version on
v2.0.0-sgx-emm
branchIt seems I'll get
Unexpected
error with or without this fix.To reproduce this, simply change the TOML dep to:
sgx_crypto = { git = "https://gitlab.com/dexlabs/incubator-teaclave-sgx-sdk", rev = "1b80455857b16fef02348a5b6db01f2888a49fd5", default-features = false, features = ["ucrypto"] }
@Kailai-Wang Thanks for reporting, I am the maintainer for DEX Labs' fork. I am not sure that if I have rebased @volcano0dr fix to our fork. I will take a look and reply to you. Meanwhile, you are welcome to check it and report issues to the gitlab issues.
I'm trying to apply newer intel-sdk version to v2.0.0 branch and this problem seems to occur again with intel-sdk-2.21, I'm referring to this dexlabs' version on
v2.0.0-sgx-emm
branch It seems I'll getUnexpected
error with or without this fix. To reproduce this, simply change the TOML dep to:sgx_crypto = { git = "https://gitlab.com/dexlabs/incubator-teaclave-sgx-sdk", rev = "1b80455857b16fef02348a5b6db01f2888a49fd5", default-features = false, features = ["ucrypto"] }
@Kailai-Wang Thanks for reporting, I am the maintainer for DEX Labs' fork. I am not sure that if I have rebased @volcano0dr fix to our fork. I will take a look and reply to you. Meanwhile, you are welcome to check it and report issues to the gitlab issues.
Thank you, that would definitely help!
I tried my branch (which includes the sgx_rand fix) but it didn't seem to work either :(
I created an issue in your repo too: https://gitlab.com/dexlabs/incubator-teaclave-sgx-sdk/-/issues/4 : )
@yangfh2004
I'm using the branch
v2.0.0-preview-11-17
, creating Rsa3072KeyPair works fortcrypto
feature (within enclave) but not withucrypto
for non-enclave.It can be reproduced by:
Running it gives SGX unexpected error:
Dependency in TOML: