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

e2e: specify multiple reference values in openssl test #812

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

msanft
Copy link
Contributor

@msanft msanft commented Aug 16, 2024

The openssl test now additionally uses multiple reference values to test attestation with multiple validators. Only the second one of the provided validators should successfully validate the attestation document.

@msanft msanft added the no changelog PRs not listed in the release notes label Aug 16, 2024
@msanft msanft requested a review from Freax13 August 16, 2024 09:10
@Freax13
Copy link
Contributor

Freax13 commented Aug 16, 2024

Don't we already have multiple reference values on bare metal?

@msanft msanft force-pushed the msanft/e2e/openssl-multi-validators branch from 10d73be to 7eb0c68 Compare August 16, 2024 09:17
@msanft
Copy link
Contributor Author

msanft commented Aug 16, 2024

Don't we already have multiple reference values on bare metal?

How come? I don't think so.

@msanft msanft marked this pull request as ready for review August 16, 2024 11:48
@msanft msanft requested a review from katexochen as a code owner August 16, 2024 11:48
@Freax13
Copy link
Contributor

Freax13 commented Aug 16, 2024

Don't we already have multiple reference values on bare metal?

How come? I don't think so.

We have multiple reference values for baremetal: Milan and Genoa.

@Freax13
Copy link
Contributor

Freax13 commented Aug 16, 2024

See #807

@msanft
Copy link
Contributor Author

msanft commented Aug 16, 2024

We have multiple reference values for baremetal: Milan and Genoa.

Thanks, i missed that. However, adding it for both AKS and bare-metal doesn't hurt, and makes the code a little less dependant on the embedding of multiple reference values being present, which I like

e2e/openssl/openssl_test.go Outdated Show resolved Hide resolved
e2e/openssl/openssl_test.go Outdated Show resolved Hide resolved
The openssl test now additionally uses multiple reference values to test attestation with multiple validators. Only the second one of the provided validators should successfully validate the attestation document.
@msanft msanft force-pushed the msanft/e2e/openssl-multi-validators branch from 7eb0c68 to 194fb96 Compare August 16, 2024 13:30
@msanft msanft requested a review from Freax13 August 16, 2024 13:31
@msanft msanft merged commit 8ebfe80 into main Aug 16, 2024
10 checks passed
@msanft msanft deleted the msanft/e2e/openssl-multi-validators branch August 16, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants