Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve data serialization for JSON inputs #56

Open
cankisagun opened this issue Apr 8, 2020 · 0 comments
Open

Improve data serialization for JSON inputs #56

cankisagun opened this issue Apr 8, 2020 · 0 comments
Labels
Enclave help wanted Extra attention is needed rust

Comments

@cankisagun
Copy link
Contributor

Enclave data is serialized for sealing/unsealing using JSON format, which is highly inefficient in terms of space. This should be improved using a binary format such as CBOR. The correct library serde-cbor that is SGX compatible should be identified and used, the code adjusted to use that. Data is JSON_serialized in [enclave/src/data.rs] in the first line of create_sealeddata_for_serializable(), and later deserialized in the last line of recover_sealeddata_for_serializable().

@cankisagun cankisagun added Enclave rust help wanted Extra attention is needed labels Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enclave help wanted Extra attention is needed rust
Projects
None yet
Development

No branches or pull requests

1 participant