digawp / hello-enclave Goto Github PK
View Code? Open in Web Editor NEWA "Hello World" Intel SGX enclave program
License: The Unlicense
A "Hello World" Intel SGX enclave program
License: The Unlicense
Adding some sample code for a ECALL and OCALL, and finishing the TODOs in the readme would be very helpful for beginners, like me.
Getting the following error message when I'm trying to run the program after compilation
./app
./app: error while loading shared libraries: libsgx_urts_sim.so: cannot open shared object file: No such file or directory
libsgx_urts_sim.so
resides in the following two location in my system.
/opt/intel/sgxsdk/sdk_libs/libsgx_urts_sim.so
/opt/intel/sgxsdk/lib64/libsgx_urts_sim.so
I didn't found any option to configure location of the library in program code. Please help
Hi, bro. Our analysis tool detected that this sample output the p_decrypted_text parameter of sgx_unseal_data() in main function of App . A possible data leak path is Function unseal -> Function main
We understand you may just want to set a sample of sealing/unsealing data inside a enclave .But according to 《Intel® Software Guard Extensions (Intel® SGX) SDK Developer Reference》 . The sgx_unseal_data() function should be utilized to restore
secret data that was preserved after an earlier instantiation of this enclave saved this data . It may not proper to directly print out unsealed results by cout .
We appreciate your great efforts to setting a sample for SGX beginners . To make this a better sample , we strongly recommended you to remove the cout part in main function , or use encrpt/dencrpt functions replace the sealing/unsealing ones.
Intel sealing&unsealing Sample https://github.com/intel/linux-sgx/tree/master/SampleCode/SealUnseal/App may be helpful to prove my view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.