mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
Log calculatedString and quoteString for firmware validation
This commit is contained in:
parent
19d3bdd1ac
commit
dbe6d0e532
@ -217,6 +217,9 @@ public class PcrValidator {
|
||||
// other information.
|
||||
String calculatedString = Hex.encodeHexString(
|
||||
pcrInfoShort.getCalculatedDigest());
|
||||
log.debug("Validating PCR information with the following:" +
|
||||
System.lineSeparator() + "calculatedString = " + calculatedString +
|
||||
System.lineSeparator() + "quoteString = " + quoteString);
|
||||
validated = quoteString.contains(calculatedString);
|
||||
if (!validated) {
|
||||
log.warn(calculatedString + " not found in " + quoteString);
|
||||
|
Loading…
Reference in New Issue
Block a user