Additional visual changes

This commit is contained in:
Cyrus 2020-09-30 10:02:33 -04:00
parent 2b57207445
commit f4aed453f8
5 changed files with 10 additions and 10 deletions

View File

@ -515,14 +515,8 @@ public abstract class AbstractAttestationCertificateAuthority
if (request.getQuote() != null && !request.getQuote().isEmpty()) {
parseTPMQuote(request.getQuote().toStringUtf8());
}
if (request.getPcrslist() != null) {
LOG.error(String.format("Not Null: %s", request.getPcrslist()));
} else {
LOG.error("The getPcrsList is null");
}
if (request.getPcrslist() != null && !request.getPcrslist().isEmpty()) {
this.pcrValues = request.getPcrslist().toStringUtf8();
LOG.error(String.format("%s", request.getPcrslist().toStringUtf8()));
}
// Get device name and device

View File

@ -213,6 +213,7 @@ public class ReferenceManifestDetailsPageController
data.put("baseRim", sRim.getTagId());
data.put("associatedRim", sRim.getAssociatedRim());
data.put("rimType", sRim.getRimType());
data.put("tagId", sRim.getTagId());
TCGEventLog logProcessor = new TCGEventLog(sRim.getRimBytes());
data.put("events", logProcessor.getEventList());

View File

@ -26,7 +26,7 @@
<c:choose>
<c:when test="${not empty initialData.associatedRim}">
<a href="${portal}/rim-details?id=${initialData.associatedRim}">
${initialData.associatedRim}
${initialData.tagId}
</a>
</c:when>
<c:otherwise>
@ -55,7 +55,7 @@
<td>${count}</td>
<td>PCR${event.getPcrIndex()}</td>
<td>${event.getEventTypeStr()}</td>
<td>${event.getEventDigestStr()}</td>
<td class="digestCell">${event.getEventDigestStr()}</td>
<td class="dataCell" title="${event.getEventContentStr()}">${event.getEventContentStr()}</td>
</tr>
<c:set var="count" value="${count + 1}" scope="page"/>

View File

@ -43,4 +43,9 @@
overflow: hidden;
width: auto;
max-width: 1px;
}
.digestCell {
max-width: 150px;
word-wrap: break-word;
}

View File

@ -522,8 +522,8 @@ string CommandTpm2::createNvWriteCommandArgs(const string& nvIndex,
/**
* Method to get a quote (signed pcr selection) from the TPM 2.0 device.
*
* @param akLocation location of an activated AK pair
* @param pcrSelection selection of pcrs to sign
* @param nonce blob provided by the ACA when the Identity Claim Request
* @param pcr_election selection of pcrs to sign
*/
string CommandTpm2::getQuote(const string& pcr_selection,
const string& nonce) {