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

sensor.live-things-registry

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sensor.live-things-registry - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

package.json
{
"name": "sensor.live-things-registry",
"version": "0.0.15",
"version": "0.0.16",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -15,3 +15,3 @@ const forge = require('node-forge');

let csr = forge.pki.createCertificationRequest();
csr.publicKey = public_key;
csr.publicKey = forge.pki.publicKeyToPem(public_key);
csr.setSubject([{

@@ -42,3 +42,3 @@ name: 'commonName',

// sign certification request
csr.sign(private_key, forge.md.sha256.create());
csr.sign(forge.pki.privateKeyToPem(private_key), forge.md.sha256.create());
// PEM-format keys and csr

@@ -45,0 +45,0 @@ return forge.pki.certificationRequestToPem(csr);

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