From f28daa9144f50ffe2faf826e312d25a705c5a0eb Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Wed, 23 Feb 2022 15:44:45 -0500 Subject: [PATCH] Found another issue using the SKID that isn't matching up --- .../src/main/java/hirs/utils/ReferenceManifestValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HIRS_Utils/src/main/java/hirs/utils/ReferenceManifestValidator.java b/HIRS_Utils/src/main/java/hirs/utils/ReferenceManifestValidator.java index ba00415d..c1af8f39 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/ReferenceManifestValidator.java +++ b/HIRS_Utils/src/main/java/hirs/utils/ReferenceManifestValidator.java @@ -180,7 +180,7 @@ public class ReferenceManifestValidator { } } else { subjectKeyIdentifier = getKeyName(rim); - if (subjectKeyIdentifier.equals(cert.getSubjectKeyIdString().substring(8))) { + if (subjectKeyIdentifier.equals(cert.getSubjectKeyIdString())) { context = new DOMValidateContext(cert.getX509Certificate().getPublicKey(), nodes.item(0)); }