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

Certificate V2 sgx_quote type element validation #234

Merged

Conversation

amendelzon
Copy link
Collaborator

  • HSMCertificateV2Element base class now raises not implemented errors for is_valid and get_pubkey
  • Implemented is_valid in HSMCertificateV2ElementSGXQuote
  • HSMCertificateV2ElementSGXQuote's message method now returns an SgxQuote
  • Mocking is_valid and get_pubkey in the rest of HSMCertificateV2Element's subclasses
  • Added and updated unit tests

- HSMCertificateV2Element base class now raises not implemented errors for is_valid and get_pubkey
- Implemented is_valid in HSMCertificateV2ElementSGXQuote
- HSMCertificateV2ElementSGXQuote's message method now returns an SgxQuote
- Mocking is_valid and get_pubkey in the rest of HSMCertificateV2Element's subclasses
- Added and updated unit tests
Copy link
Collaborator

@italo-sampaio italo-sampaio left a comment

Choose a reason for hiding this comment

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

LGTM!

@amendelzon amendelzon merged commit 0b62d17 into feature/sgx-attestation Dec 31, 2024
5 checks passed
@amendelzon amendelzon deleted the enhancement/sgx-quote-validation branch December 31, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants