Socket
Socket
Sign inDemoInstall

ssh2

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh2 - npm Package Compare versions

Comparing version 0.2.13 to 0.2.14

23

lib/Parser.constants.js

@@ -172,11 +172,9 @@ var i = 0, keys, len;

CIPHER = [
// from <http://tools.ietf.org/html/rfc4345#section-4>:
'aes256-cbc', // OPTIONAL
'aes192-cbc', // OPTIONAL
'aes128-cbc', // RECOMMENDED
'blowfish-cbc',// OPTIONAL
'3des-cbc', // REQUIRED
// http://tools.ietf.org/html/rfc4345#section-4:
'arcfour256',

@@ -186,3 +184,2 @@ 'arcfour128',

'cast128-cbc', // OPTIONAL
'arcfour' // OPTIONAL

@@ -213,9 +210,11 @@ //'none' // OPTIONAL

// ciphers in CTR mode disabled for now
/*if (process.versions.openssl >= '1.0.1') {
if (process.versions.openssl >= '1.0.1') {
CIPHER = [
// from <http://tools.ietf.org/html/rfc4344#section-4>:
// http://tools.ietf.org/html/rfc4344#section-4
'aes256-ctr', // RECOMMENDED
'aes192-ctr', // RECOMMENDED
'aes128-ctr' // RECOMMENDED
].concat(CIPHER);
}*/
CIPHER_LIST = new Buffer(CIPHER.join(','));
}

@@ -259,8 +258,8 @@ exports.ALGORITHMS = {

'camellia256-cbc@openssh.org': 'camellia-256-cbc',
/*'3des-ctr': 'des-ede3',
'3des-ctr': 'des-ede3',
'blowfish-ctr': 'bf-ecb',
'aes256-ctr': 'aes-256-ctr',
'aes192-ctr': 'aes-192-ctr',*/
'aes192-ctr': 'aes-192-ctr',
'aes128-ctr': 'aes-128-ctr',
/*'cast128-ctr': 'cast5-ecb',
'cast128-ctr': 'cast5-ecb',
'camellia128-ctr': 'camellia-128-ecb',

@@ -271,3 +270,3 @@ 'camellia192-ctr': 'camellia-192-ecb',

'camellia192-ctr@openssh.org': 'camellia-192-ecb',
'camellia256-ctr@openssh.org': 'camellia-256-ecb',*/
'camellia256-ctr@openssh.org': 'camellia-256-ecb',
// hmac

@@ -274,0 +273,0 @@ 'hmac-sha1-96': 'sha1',

{ "name": "ssh2",
"version": "0.2.13",
"version": "0.2.14",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "An SSH2 client module written in pure JavaScript for node.js",

Sorry, the diff of this file is too big to display

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