Comments (2)
Hi. TaLoS does not implement all the libreSSL functions inside the enclave, but only the ones we needed for our use cases. In particular my guess is that it does not implement the functions you list above, hence the compilation error.
TaLoS was developed a few years ago for our (research) use-cases. Due to lack of time and manpower we did not have the opportunity to ensure its maintenance. Given that we apply a series of patches to libreSSL, it might not be too difficult to port it to a newer version of libreSSL.
The good news is this problem should be fairly easy to fix (provided there are no complicated corner cases) by following this procedure: for each function F()
for which there is an undefined reference:
- create a new function with the same name and signature in
enclaveshim_ecalls.c
; - create an ecall
ecall_F()
and call it from the new functionF()
(you want to modifyenclave.edl
and need to take care of passing data/pointers in/out the enclave); - in the libressl file where
F()
is defined, add a new functionecall_F()
whose sole role is to callF()
.
(Note that the BIO_*()
functions are implemented outside the enclave for performance without negative impact on the security, so step 2 would be skipped.)
from talos.
Thanks a lot for the explanation @plaublin 👍
woflssl has built-in SGX support and I've had some success with it so far.
from talos.
Related Issues (20)
- Enclave once created is never destroyed HOT 1
- Build Nginx Successfully, but got a segmentation fault HOT 5
- potential security issue: ecall_SSL_write using [user_check] HOT 3
- SSL/TLS Client example
- security issues due to prevalent use of [user_check] HOT 5
- memcpy warning when compiling TaLoS HOT 2
- potential security issue: ecall_SSL_read using [user_check] HOT 2
- Cannot find -lsgx_tstdcxx HOT 8
- What's the purpose of the code in /src/talso/enclaveshim HOT 5
- Deprecated function is not defined HOT 1
- Data races
- Unable to establish SSL connection when testing on the lastes version
- Dockerbuild will not start HOT 1
- Compilation of libressl not working HOT 5
- can not build TaLoS using clang,need help HOT 6
- The private key may be leaked to the attacker HOT 5
- verify_mode maybe be modified by the attacker HOT 1
- SSL session is leaked
- Bugs found HOT 6
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 talos.