From f5c056fdeb0a3b0da61e5038d405b6c14d0a74bf Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 1 Oct 2023 00:52:17 -0700 Subject: [PATCH] Corrected getPublicKeyHashBinary() to handle hashing the public key of a cert without ForgeJS. --- certoperations.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/certoperations.js b/certoperations.js index 38dfb5f6..dd3e2c3c 100644 --- a/certoperations.js +++ b/certoperations.js @@ -640,12 +640,11 @@ module.exports.CertificateOperations = function (parent) { const { X509Certificate } = require('crypto'); if (X509Certificate == null) { // This version of NodeJS (