Skip to content

Commit

Permalink
fix modulus formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jkataja committed Jan 22, 2023
1 parent 17236c0 commit 394cf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/operations/ParseCSR.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 394cf67

Please sign in to comment.