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

attestation: Enforce strict DEK format check for 3-blob VMGS #645

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

mingweishih
Copy link
Contributor

This PR reverts #279 (with proper fix on the expected key length) and enforces strict check against the DEK format. More specifically, the check expects the DEK to be 40-byte (AES-wrapped AES key) and errors out if there is non-zero bytes exceeding the expected length.

@mingweishih mingweishih requested a review from a team as a code owner January 10, 2025 01:56
@mingweishih
Copy link
Contributor Author

cc @mebersol

@mingweishih mingweishih requested a review from daprilik January 13, 2025 18:32
@mingweishih mingweishih added the backport_2411 Change should be backported to the release/2411 branch label Jan 13, 2025
Copy link
Contributor

@daprilik daprilik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving from a code-quality pov

@mingweishih mingweishih merged commit 8f01fb3 into microsoft:main Jan 14, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport_2411 Change should be backported to the release/2411 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants