Open blmalone opened 3 years ago
Can this be escalated? I am also wanting to know if this is possible in simulation mode.
I created some sample programs that runs Rust SGX SDK here. https://github.com/glassonion1/rust-101/tree/main/sgx-sdk
I created some sample programs that runs Rust SGX SDK here. https://github.com/glassonion1/rust-101/tree/main/sgx-sdk
Thanks @glassonion1 !! and this was all done in simulation mode running on a Macbook Pro with a 2.3 GHz 8-Core Intel Core i9 ? Do you by any chance know if we can run Intel SGX in simulation mode on an M1 chip?
My sample programs run on Intel Mac except remote attestation and mutual-ra. But I don't know if it works on M1 Mac.
@glassonion1 thanks so much. Would be very interested to know if it works in Simulation mode on Apples M1 Chip. Reason being is i am looking for a new Mac. Thanks again.
Just asking this again - anyone managed to run the intel sgx rust sdk sample code on M1 chip even in simulation mode using docker?
I am using sgx sdk on my MacBook Pro M1, and it failed with simulation mode with the following error:
Unknown host CPU architecture arm64
From here it can be easily found that only x86 arch is supported. https://github.com/apache/incubator-teaclave-sgx-sdk/blob/master/buildenv.mk#L104
Are there any plans for arm64 support?
I am using sgx sdk on my MacBook Pro M1, and it failed with simulation mode with the following error:
Unknown host CPU architecture arm64
From here it can be easily found that only x86 arch is supported. https://github.com/apache/incubator-teaclave-sgx-sdk/blob/master/buildenv.mk#L104
Are there any plans for arm64 support?
This would be much needed …. Or some kind of workaround at least
hi @Astewart1510 this is almost impossible. teaclave sgx sdk is built on top of intel sgx sdk which is x86 only. we can make rust part compile but i'm afraid we can't make intel sgx sdk compile on arm64.
hi @dingelish Thanks for the clarity. I suppose I would have to start using the TrustZone SDK? Would that be compatible with a Macbook Pro M1 chip?
@Astewart1510 here you go https://github.com/apache/incubator-teaclave-trustzone-sdk
@dingelish , sorry wanted to ask if it's possible to change the docker image in such a way that the architecture of the container is x86 ? Therefore the Intel SGX would be able to run on simulation mode on a M1 Mac using a x86 docker image.
Is it possible to use SGX simulation mode on a 2015 mbp with a 2.2 i7-4770HQ? The main purpose would be for playing/ripping UHD4k Blu-ray Discs as this requires SGX.
If this could work, any advice on installation etc would be very welcome. Thanks Neale
Specs: MacBook Pro (16-inch, 2019), 2.3 GHz 8-Core Intel Core i9
When following the instructions outlined here.
I get the following error:
Steps to reproduce:
I've seen some closed issues in this repo that report similar errors, but none fix this exact issue.
Side Notes:
baiduxlab/sgx-rust
.