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

curvecp

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curvecp - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

2

package.json
{
"name": "curvecp",
"version": "0.9.5",
"version": "0.9.6",
"description": "Pure javascript CurveCP library",

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

@@ -105,3 +105,3 @@ var Chicago = require('./chicago.js')

var self = this
setImmediate(function () {
process.nextTick(function () {
if (self.canProcessMessage()) {

@@ -108,0 +108,0 @@ self.processMessage()

@@ -466,4 +466,4 @@ 'use strict'

var boxData = this._decrypt(cookieMessage.subarray(40, 200), 'CurveCPK', this.serverPublicKey, this.clientConnectionPrivateKey)
if (boxData === undefined) {
this._log.warn('Not able to decrypt welcome box data')
if (boxData === undefined || !boxData) {
this._log.warn('Not able to decrypt cookie box data')
return

@@ -474,3 +474,3 @@ }

if (this.__serverCookie.length !== 96) {
this._log.warn('Welcome command server cookie invalid')
this._log.warn('Server cookie invalid')
return

@@ -477,0 +477,0 @@ }

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