Maciej Krüger 8ad4c15562 refactor: use async await (#108)
* chore: upgrade deps

* feat: first iteration of the idea

* feat: iterate a layer deeper

* feat: rewrite handshake

* feat: rewrite propose

* feat: rewrite finish

* feat: rewrite exchange

* feat: rewrite low-level stuff

* feat: work on rewriting tests

* refactor: browser tests

* refactor: .aegir.js

* feat: refactor benchmarks

* fix: try to make it work

* fix: lint

* refactor: move tests

* refactor: switch deps

* refactor: entry file

* refactor: a bit more

* fix: tests

* feat: inital iterables refactor

* refactor: streaming

* refactor: cleanup

* fix: turn bufferlist into buffer

* fix: use errors from interfaces

* refactor: etm

* fix: typo

* fix: .read error

* fix: satisfy output expectations

* fix: it works - WARNING: using varint instead of fixed lp, tests lie

* fix: use errors

* refactor: benchmarks

* fix: add suggestions from review

Co-Authored-By: Jacob Heun <jacobheun@gmail.com>

* fix: upgrade deps and use correct lp-encoder

* refactor: apply changes from review

* refactor: apply changes from review

* refactor: apply changes from review

* chore: remove old tests

test: add support tests back

* test: fix async benchmarks

* chore: clean up deps

* fix: use fixed encoding/decoding everywhere

fix: exchange final nonce handshake over encryption

* test: add verify inbound and outbound secio

* test: verify nonces are boxed

* chore: add node 12 to ci
2019-11-22 14:18:17 -06:00
2019-11-22 14:18:17 -06:00
2019-11-22 14:18:17 -06:00
2018-01-07 16:24:43 +00:00
2018-01-07 16:24:43 +00:00
2019-11-22 14:18:17 -06:00
2019-01-11 17:25:57 +01:00
2016-05-20 21:13:55 +02:00
2019-11-22 14:18:17 -06:00
2019-11-22 14:18:17 -06:00

js-libp2p-secio

Discourse posts Dependency Status js-standard-style

SECIO implementation in JavaScript

This repo contains the JavaScript implementation of secio, an encryption protocol used in libp2p. This is based on this go implementation.

Lead Maintainer

Friedel Ziegelmayer

Table of Contents

Install

npm install libp2p-secio

Usage

const secio = require('libp2p-secio')

API

This module exposes a crypto interface, as defined in the js-interfaces

» API Docs

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

MIT

Description
No description provided
Readme MIT 1.4 MiB
Languages
JavaScript 100%