mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-19 21:17:59 +00:00
Merge pull request #802 from nsacyber/v3_issue-801
[#801] Log hash strings for debug purposes
This commit is contained in:
commit
86646a2766
@ -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