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

Derive Serialize and Deserialize for the TcbError #417

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

nick-mobilecoin
Copy link
Collaborator

@nick-mobilecoin nick-mobilecoin commented Sep 8, 2023

Any error that is meant out be propagated out of an enclave needs to
be able to be serialized and deserialized from the trusted side into the
untrusted side.

Clone was also added as the changes needed for Serialize and
Deserialize made it possible for the error to be cloneable.

@nick-mobilecoin
Copy link
Collaborator Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@github-actions github-actions bot added the size/XS PRs with less than 30 lines of changes label Sep 8, 2023
@meowblecoinbot meowblecoinbot requested a review from a team September 8, 2023 14:38
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #417 (33998eb) into main (7bdc5ab) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #417   +/-   ##
=======================================
  Coverage   88.39%   88.39%           
=======================================
  Files          40       40           
  Lines        5643     5643           
=======================================
  Hits         4988     4988           
  Misses        655      655           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

Any error that is meant out be propagated out of an enclave needs to
be able to be serialized and deserialized from the trusted side into the
untrusted side.

`Clone` was also added as the changes needed for `Serialize` and
`Deserialize` made it possible for the error to be cloneable.
@nick-mobilecoin nick-mobilecoin force-pushed the nick/cloneable-tcb-error branch from b861264 to 33998eb Compare September 8, 2023 15:40
@nick-mobilecoin nick-mobilecoin changed the title Derive Clone for the TcbError Derive Serialize and Deserialize for the TcbError Sep 8, 2023
@nick-mobilecoin nick-mobilecoin merged commit 1bcf459 into main Sep 8, 2023
@nick-mobilecoin nick-mobilecoin deleted the nick/cloneable-tcb-error branch September 8, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS PRs with less than 30 lines of changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants