Socket
Socket
Sign inDemoInstall

sshpk

Package Overview
Dependencies
9
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.2 to 1.8.3

5

lib/key.js

@@ -159,6 +159,3 @@ // Copyright 2015 Joyent, Inc.

try {
nm = this.type.toUpperCase() + '-';
if (this.type === 'ecdsa')
nm = 'ecdsa-with-';
nm += hashAlgo.toUpperCase();
nm = hashAlgo.toUpperCase();
v = crypto.createVerify(nm);

@@ -165,0 +162,0 @@ } catch (e) {

@@ -151,6 +151,3 @@ // Copyright 2015 Joyent, Inc.

try {
nm = this.type.toUpperCase() + '-';
if (this.type === 'ecdsa')
nm = 'ecdsa-with-';
nm += hashAlgo.toUpperCase();
nm = hashAlgo.toUpperCase();
v = crypto.createSign(nm);

@@ -157,0 +154,0 @@ } catch (e) {

2

package.json
{
"name": "sshpk",
"version": "1.8.2",
"version": "1.8.3",
"description": "A library for finding and using SSH public keys",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc