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

Deduplicate Rust attestation protos definition #4511

Open
ipetr0v opened this issue Nov 28, 2023 · 1 comment
Open

Deduplicate Rust attestation protos definition #4511

ipetr0v opened this issue Nov 28, 2023 · 1 comment

Comments

@ipetr0v
Copy link
Contributor

ipetr0v commented Nov 28, 2023

We currently have conflicting Rust definitions for our DICE protos.
We have the oak_remote_attestation crate building the protos.
And the oak_attestation_verification building them as well.

And since the Orchestrator has to use both crates, it gets conflicting definitions. I.e. we cannot pass the evidence to the verify function, because it was built in a different crate.

@ipetr0v
Copy link
Contributor Author

ipetr0v commented Nov 28, 2023

As a temporary solution we are going to serialize and deserializa protos in-place into structs from a different crate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant