Skip to content

Commit 394cf67

Browse files
committed
fix modulus formatting
1 parent 17236c0 commit 394cf67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/operations/ParseCSR.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ${formatAttributes(csr)}
7171
Public Key:
7272
Key Size: ${csr.publicKey.n.bitLength()} bits
7373
Modulus:
74-
${formatMultiLine(chop(csr.publicKey.n.toString(16).replace(/(..)$!/g, "$&:")))}
74+
${formatMultiLine(chop(csr.publicKey.n.toString(16).replace(/(..)/g, "$&:")))}
7575
Exponent: ${csr.publicKey.e} (0x${Utils.hex(csr.publicKey.e)})
7676
7777
Signature:

0 commit comments

Comments
 (0)