- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi folks,
Just started working with SGX, so I am trying to figure out what's possible and what's not.
Basically, somewhere outside, is serializing, and encrypting their protobuf message.
We receive it in the SGX app, send the encrypted data into Enclave, unencrypt, and deserialize INSIDE the enclave to do some data manipulation. Then we re-serialize and re-encrypt, and pass it back out.
In order to do the above, we need protobuf libraries in the libraries. Is this possible?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wanted to do the something if you get the know the answer or made it possible. Please do let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an open source example at https://bitbucket.org/P2PUsingSGX/p2pusingsgx that shows you how to use openssl for encryption, boost library to implement the communications and Google protobuf libraries and rapidjson to serialize transferred data. Please take a look at its source code and see whether it helps with your implementation or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
emmm I also want to do the same job,but I have no idea about that.
enclave doesnot support any serialization library
maybe metadata and json could help.anyone has idea about that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone, if someone want to use protobuf inside sgx, you can use protobuf-c which can be static linked inside sgx enclave.
Reguards you.w
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome to try rust-sgx-sdk which include a full functional memory-safe protobuf implementation in Rust. Here is the code example:
https://github.com/baidu/rust-sgx-sdk/tree/master/samplecode/protobuf

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page