Comparing version 1.11.1 to 1.11.2
@@ -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') |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93394
1865