-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
dasharo-security/tpm-support: duplicate tests covering the same functionality #495
Comments
Sorry, that's unrelated. |
I think that it is possible to merge TPM002 (TPM verify version) tests into TPM001(TPM Verify support). Version verification should happen as part of support testing, and resolving version earlier in test will be useful for extended coverage of test, where we need to verify that at least one of the TPM versions is available. |
Here's a preview of patch to remove redundant functionality: #507 @miczyg1 @filipleple please take a look and tell what do you think about it. |
This test does something entirely different from what the name suggest. TPM version check I think should check whether the TPM is 1.2 or 2.0 compared to expected TPM version which should be on the board. E.g. Dell Optiplex and one of KGPE platforms have a TPM1.2, other platforms should have TPM2.0. THe test should check
|
PR: #507 has been corrected with your comment taken into consideration. Main point is adding new variable to common config files "TPM_EXPECTED_VERSION", which we later check against. |
Here's a log from dasharo security suite on v1410 platform |
Fixed in #507 |
The problem you're addressing (if any)
Test case TPM001.001 TPM Support (firmware) and TPM002.001 Verify TPM version (firmware) cover exactly the same functionality:
Describe the solution you'd like
Both test cases could be merged into one, with descriptions updated to reflect the changes.
Where is the value to a user, and who might that user be?
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: