Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Rust attestation sample and TDX binding updates.
No open issues 🎉
What changed in this PR
Updates the Rust SGX/TDX attestation samples and TDX bindings with refreshed dependencies, code cleanup, and clearer build and deployment instructions.
Changes:
- Generates each report-data byte independently and improves report-generation error output.
- Shares supplemental-data setup between verification modes and cleans up result handling.
- Updates dependencies, bindgen integration, and sample documentation.
| File | Description |
|---|---|
SampleCode/RustTDQuoteGenerationSample/src/main.rs |
Updates random report-data generation and error output; removes redundant code. |
SampleCode/RustTDQuoteGenerationSample/README.md |
Clarifies TD VM requirements and build/deployment steps. |
SampleCode/RustTDQuoteGenerationSample/Cargo.toml |
Updates rand. |
SampleCode/RustQuoteVerificationSample/src/main.rs |
Extracts shared supplemental-data setup and cleans up verification code. |
SampleCode/RustQuoteVerificationSample/README.md |
Reorganizes prerequisites and build/run instructions; updates the installation-guide link. |
SampleCode/RustQuoteVerificationSample/Cargo.toml |
Updates CLI and quote-verification dependencies. |
QuoteGeneration/quote_wrapper/tdx-attest-sys/src/lib.rs |
Allows missing safety documentation in generated bindings. |
QuoteGeneration/quote_wrapper/tdx-attest-sys/Cargo.toml |
Updates bindgen. |
QuoteGeneration/quote_wrapper/tdx-attest-sys/build.rs |
Simplifies SDK-path handling and updates bindgen callback initialization. |
Review effort: Balanced
pawelpros
force-pushed
the
pproskur/fixsamples
branch
2 times, most recently
from
December 2, 2026 08:21
9764fc2 to
d695af9
Compare
Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
- Updated dependency and corresponding code change - Run clippy + fmt Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
- Updated dependency and corresponding code changes - Run clippy + fmt Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
- Updated dependency and corresponding code changes - Run clippy + fmt Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
Signed-off-by: Pawel Proskurnicki <pawel.proskurnicki@intel.com>
pawelpros
force-pushed
the
pproskur/fixsamples
branch
from
December 2, 2026 08:59
d695af9 to
1897ccf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.