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

2key-ratchet

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2key-ratchet - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

0

ARCHITECTURE.md

@@ -0,0 +0,0 @@ ## OVERVIEW

2

DIFFERENCES.md

@@ -11,4 +11,4 @@ # DIFFERENCES

- The decision to use secp256r1 also meant we needed to extend the protocol to support separate keys for encryption and decryption. ed25519 is based on EC-Schnorr which is believed to not leak details about the key, the NIST EC curves do not have this property, hence the change. The change includes the newly introduced encryption key being signed by the corresponding identity key.
- The decision to use secp256r1 also meant we needed to extend the protocol to support separate keys for signing and encryption. ed25519 is based on EC-Schnorr which is believed to not leak details about the key, the NIST EC curves do not have this property, hence the change. The change includes the newly introduced encryption key being signed by the corresponding identity key.
- Due to patent concerns we utilized uncompressed keys in the wire protocol, these uncompressed keys are larger but we believe them to be unencumbered.
- Unlike the original double ratchet protocol, 2key-ratchet uses Protobufs instead of TLV for packing messages, this simplifies parsing and makes code more readable.

@@ -0,0 +0,0 @@ import { EventEmitter } from "events";

@@ -0,0 +0,0 @@ MIT License

{
"name": "2key-ratchet",
"version": "1.0.10",
"version": "1.0.11",
"description": "2key-ratchet is an implementation of a Double Ratchet protocol and X3DH in TypeScript utilizing WebCrypto.",

@@ -31,3 +31,17 @@ "main": "dist/2key-ratchet.js",

},
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/PeculiarVentures/2key-ratchet.git"
},
"keywords": [
"diffie-hellman",
"secp256r1",
"ecc",
"encryption",
"cryptography",
"webcrypto",
"session",
"integrity",
"messaging"
],
"author": "PeculiarVentures",

@@ -39,23 +53,23 @@ "contributors": [

"dependencies": {
"node-webcrypto-ossl": "^1.0.30",
"node-webcrypto-ossl": "^1.0.36",
"pvtsutils": "^1.0.2",
"tslib": "^1.7.1",
"tslib": "^1.9.0",
"tsprotobuf": "^1.0.11"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"chai": "^4.1.1",
"@types/chai": "^4.1.2",
"@types/mocha": "^2.2.48",
"@types/node": "^7.0.56",
"chai": "^4.1.2",
"live-server": "^1.2.0",
"mocha": "^3.5.0",
"mocha": "^3.5.3",
"npm-run-all": "^3",
"nyc": "^11.1.0",
"nyc": "^11.6.0",
"rollup": "^0.41.6",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-typescript": "^0.8.1",
"typescript": "^2.5.1",
"typescript": "^2.7.2",
"watch": "^1.0.2"
}
}

@@ -6,2 +6,4 @@ # 2key-ratchet

[![Coverage Status](https://coveralls.io/repos/github/PeculiarVentures/2key-ratchet/badge.svg?branch=master)](https://coveralls.io/github/PeculiarVentures/2key-ratchet?branch=master)
[![npm version](https://badge.fury.io/js/2key-ratchet.svg)](https://badge.fury.io/js/2key-ratchet)
[![NPM](https://nodei.co/npm/2key-ratchet.png)](https://nodei.co/npm/2key-ratchet/)

@@ -8,0 +10,0 @@

@@ -0,0 +0,0 @@ # SCENARIOS

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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 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