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

TPM Detect tests don't support TPM 1.2 #565

Open
philipandag opened this issue Nov 5, 2024 · 1 comment
Open

TPM Detect tests don't support TPM 1.2 #565

philipandag opened this issue Nov 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@philipandag
Copy link
Contributor

The problem you're addressing (if any)

TPD tests use tpm2-tools which obviously only work with TPM 2.0. Performing the tests on Optiplex 7010 fails because it has TPM 1.2.

Describe the solution you'd like

Provide an alternative way of detecting TPM if using tpm2-tools won't work.

Where is the value to a user, and who might that user be?

Otherwise the tests can't be performed on devices with older TPMs

Describe alternatives you've considered

instead of tpm2-tools maybe one of the following could be used?

dmesg | grep tpm
journalctl -g tpm
ls /sys/class/tpm
cat /sys/class/tpm/tpm*/tpm_version_major

Additional context

No response

@philipandag philipandag added the enhancement New feature or request label Nov 5, 2024
@mkopec
Copy link
Member

mkopec commented Nov 5, 2024

instead of tpm2-tools maybe one of the following could be used?

yes that would work if it's sufficient for tests

there's also tpm-tools from the TrouserS project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants