Comments (3)
Oh, I found the issue. Buffers I was passing to sgx_init_quote
were not zeroed out initially. It seems sgx_init_quote
only sets parts of a buffer and does not set the rest (reserved bytes) to zero. I think SDK should do that.
A workaround is that for now I set everything to zero before calling sgx_init_quote
.
sgx_target_info_t target_info;
sgx_epid_group_id_t gid;
bzero(&target_info, sizeof(target_info));
bzero(&gid, sizeof(gid));
from linux-sgx.
A new major release is updated. You can test it.
from linux-sgx.
I can confirm that this is not a problem anymore with 1.8.
from linux-sgx.
Related Issues (20)
- Would porting ffmpeg to compress videos in enclave be possible in ones lifetime?
- Problem in building v2.23
- sgx-gdb will suddenly be unable to enter ecall for debugging
- aesm_service crashes HOT 4
- Missing `sgx_quote_5.h` in libsgx-headers 2.23.100.2 HOT 2
- Cannot make sdk, GLIBC error
- PCCS Certification setup fails on CentOS Stream 9 HOT 1
- NUC7CJYH missing FLC support HOT 1
- 我将PCCS部署在ubuntu22.04的docker 容器中,但是我不知道如何验证我部署的是否存在问题 HOT 2
- Latest Out-of-Tree Driver install fails on Ubuntu 22.04.4 and 24.04: "assignment of read-only member ‘vm_flags’" HOT 1
- Confusing about the EPC size supported by the CPU. HOT 1
- cc1plus: error: /opt/intel/sgxsdk/include: No such file or directory [-Werror=missing-include-dirs] HOT 1
- The issue on ECDSA HOT 1
- About linux-sgx development
- Ubuntu 24 LTS support HOT 1
- Pre-built architectural enclaves contain redundant NixOS ld-linux path HOT 2
- Does SGX support Python HOT 1
- sgx-gdb does not break on exceptions HOT 2
- missing emm_private.h in sgx_rsrv_mem.cpp HOT 1
- error occurs when compile sgx sdk: array subscript fi is outside array bounds of ‘const ecall_info_t[0]’ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-sgx.