-
Notifications
You must be signed in to change notification settings - Fork 0
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
Expected pcrs #11
Expected pcrs #11
Conversation
Not tested in this exact form yet, this was in big part manually rewritten because copying files between Qubes dom0 and development computer is hard. |
2c31ae8
to
7c8546f
Compare
This also changes the way hexdump is printed - it now includes newline character. Other than that, no functional changes intended. Signed-off-by: Krystian Hebel <[email protected]>
7c8546f
to
a1196c7
Compare
After fixing file permissions and some typos it works as expected for TPM2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to look closer, but TPM1 script has an issue for sure.
Expected PCRs 17 and 18 values are now printed at the end of dump for easier comparison with real values. The latter can be read with: cat /sys/class/tpm/tpm0/pcr-sha{1,256}/1[78] Signed-off-by: Krystian Hebel <[email protected]>
a1196c7
to
2cda978
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Values of PCR17 don't match on KGPE-16, but it's not the script's fault, it computes everything correctly. Maybe some package is missing one of the fixes.
Added ability to print expected PCR values in order to easier catch any potential issues.