From 394cf6770c937cad2d66d426901f33685d76101b Mon Sep 17 00:00:00 2001 From: Janne Kataja Date: Sun, 22 Jan 2023 03:16:49 +0100 Subject: [PATCH] fix modulus formatting --- src/core/operations/ParseCSR.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/operations/ParseCSR.mjs b/src/core/operations/ParseCSR.mjs index 5e4d86ee1..0ab57e23f 100644 --- a/src/core/operations/ParseCSR.mjs +++ b/src/core/operations/ParseCSR.mjs @@ -71,7 +71,7 @@ ${formatAttributes(csr)} Public Key: Key Size: ${csr.publicKey.n.bitLength()} bits Modulus: -${formatMultiLine(chop(csr.publicKey.n.toString(16).replace(/(..)$!/g, "$&:")))} +${formatMultiLine(chop(csr.publicKey.n.toString(16).replace(/(..)/g, "$&:")))} Exponent: ${csr.publicKey.e} (0x${Utils.hex(csr.publicKey.e)}) Signature: