In our organization ([Integritee](https://github.com/integritee-network)) the 
need arose for a secure web-socket server, run entierly inside the enclave. 
After some investigation, we found that 
[Tungstenite](https://github.com/snapview/tungstenite-rs) offers exactly that 
(based on [Rustls](https://github.com/rustls/rustls)) and has dependencies that 
are mostly already ported to SGX in 
[MesaLock-Linux](https://github.com/mesalock-linux).

So I forked and ported `Tungstenite` to SGX -> 
[here](https://github.com/integritee-network/tungstenite-rs-sgx) on branch 
`sgx-experimental`. You could probably use my work and do an 'official' 
MesaLock-Linux fork of Tungstenite? 


### Remarks

#### Testing
My fork does not port the unit tests to SGX - the GitHub Actions fail

#### Dependencies
There are some dependencies that I had to port to SGX, they can be found here 
(always on branch `sgx-experimental`):
* https://github.com/integritee-network/rust-utf8-sgx
* https://github.com/integritee-network/httparse-sgx
* https://github.com/integritee-network/bytes-sgx

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/355

Reply via email to