Socket
Socket
Sign inDemoInstall

libp2p-secio

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libp2p-secio - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.9.4"></a>
## [0.9.4](https://github.com/ipfs/js-libp2p-secio/compare/v0.9.3...v0.9.4) (2018-03-28)
### Bug Fixes
* pass the handshake failure on ([6d09b47](https://github.com/ipfs/js-libp2p-secio/commit/6d09b47))
<a name="0.9.3"></a>

@@ -2,0 +12,0 @@ ## [0.9.3](https://github.com/ipfs/js-libp2p-secio/compare/v0.9.2...v0.9.3) (2018-02-27)

7

package.json
{
"name": "libp2p-secio",
"version": "0.9.3",
"version": "0.9.4",
"description": "Secio implementation in JavaScript",

@@ -39,6 +39,6 @@ "main": "src/index.js",

"pull-length-prefixed": "^1.3.0",
"pull-stream": "^3.6.2"
"pull-stream": "^3.6.7"
},
"devDependencies": {
"aegir": "^13.0.5",
"aegir": "^13.0.6",
"benchmark": "^2.1.4",

@@ -74,2 +74,3 @@ "chai": "^4.1.2",

"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
"Jacob Heun <jacobheun@gmail.com>",
"Pedro Teixeira <i@pgte.me>",

@@ -76,0 +77,0 @@ "Richard Littauer <richard.littauer@gmail.com>",

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

parallel([
(cb) => support.makeMacAndCipher(state.protocols.local, cb),
(cb) => support.makeMacAndCipher(state.protocols.remote, cb)
(_cb) => support.makeMacAndCipher(state.protocols.local, _cb),
(_cb) => support.makeMacAndCipher(state.protocols.remote, _cb)
], cb)

@@ -195,0 +195,0 @@ }

@@ -14,3 +14,3 @@ 'use strict'

// -- exchange (signed) ephemeral keys. verify signatures.
module.exports = function exchange (state, cb) {
module.exports = function exchange (state, callback) {
log('2. exchange - start')

@@ -31,7 +31,7 @@

], (err) => {
if (err) { return cb(err) }
if (err) { return callback(err) }
log('2. exchange - finish')
cb()
callback()
})
}

@@ -15,3 +15,3 @@ 'use strict'

// -- send expected message to verify encryption works (send local nonce)
module.exports = function finish (state, cb) {
module.exports = function finish (state, callback) {
log('3. finish - start')

@@ -44,3 +44,3 @@

})
cb(err)
callback(err)
}

@@ -60,4 +60,4 @@

state.secure.resolve(shake.handshake.rest())
cb()
callback()
})
}

@@ -27,3 +27,3 @@ 'use strict'

// signal when the handshake is finished so that plumbing can happen
callback()
callback(err)
})

@@ -30,0 +30,0 @@

@@ -14,3 +14,3 @@ 'use strict'

// -- propose cipher suite + send pubkeys + nonce
module.exports = function propose (state, cb) {
module.exports = function propose (state, callback) {
log('1. propose - start')

@@ -30,8 +30,8 @@

if (err) {
return cb(err)
return callback(err)
}
log('1. propose - finish')
cb()
callback()
})
}

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

Sorry, the diff of this file is not supported yet

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

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