From 7dd125286d6c946683ace773c1bb4b85e3ef0524 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 1 Jun 2022 15:06:01 -0700 Subject: [PATCH] Authenticode.js improvement. --- authenticode.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authenticode.js b/authenticode.js index 16f570f5..15031b29 100644 --- a/authenticode.js +++ b/authenticode.js @@ -224,6 +224,8 @@ function createAuthenticodeHandler(path) { (pkcs7.rawCapture.authenticatedAttributes[i].value[0].value != null) && (pkcs7.rawCapture.authenticatedAttributes[i].value[1] != null) && (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value != null) && + (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0] != null) && + (pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0].value != null) && (forge.asn1.derToOid(pkcs7.rawCapture.authenticatedAttributes[i].value[0].value) == obj.Oids.SPC_SP_OPUS_INFO_OBJID)) { for (var j in pkcs7.rawCapture.authenticatedAttributes[i].value[1].value[0].value) { if (