Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pem

Package Overview
Dependencies
Maintainers
1
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.4.3 to 1.4.4

2

lib/pem.js

@@ -158,2 +158,3 @@ "use strict";

* @param {Boolean} [options.selfSigned] If set to true and serviceKey is not defined, use clientKey for signing
* @param {String} [options.hash] Hash function to use (either md5 sha1 or sha256, defaults to sha256)
* @param {String} [options.csr] CSR for the certificate, if not defined a new one is generated

@@ -202,2 +203,3 @@ * @param {Number} [options.days] Certificate expire time in days

"-req",
"-" + (options.hash || "sha256"),
"-days",

@@ -204,0 +206,0 @@ Number(options.days) || "365",

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Create private keys and certificates with node.js",
"version": "1.4.3",
"version": "1.4.4",
"repository": {

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

@@ -82,3 +82,3 @@ pem

* **commonName** is a CSR common name field (defaults to `localhost`)
* **altNames** is a list of subjectAltNames in the subjectAltName field (optional)
* **altNames** is a list (`Array`) of subjectAltNames in the subjectAltName field (optional)
* **emailAddress** is a CSR email address field

@@ -85,0 +85,0 @@

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