Socket
Socket
Sign inDemoInstall

pem

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pem - npm Package Compare versions

Comparing version 1.11.1 to 1.11.2

9

lib/pem.js

@@ -318,3 +318,10 @@ 'use strict'

params.push('-set_serial')
params.push('0x' + ('00000000' + options.serial.toString(16)).slice(-8))
// set the serial to the max lenth of 20 octets ()
// A certificate serial number is not decimal conforming. That is the
// bytes in a serial number do not necessarily map to a printable ASCII
// character.
// eg: 0x00 is a valid serial number and can not be represented in a
// human readable format (atleast one that can be directly mapped to
// the ACSII table).
params.push('0x' + ('0000000000000000000000000000000000000000' + options.serial.toString(16)).slice(-40))
} else {

@@ -321,0 +328,0 @@ params.push('-CAcreateserial')

2

package.json

@@ -12,3 +12,3 @@ {

"description": "Create private keys and certificates with node.js and io.js",
"version": "1.11.1",
"version": "1.11.2",
"repository": {

@@ -15,0 +15,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc