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

ssb-keys

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-keys - npm Package Compare versions

Comparing version 4.0.10 to 5.0.0

13

index.js

@@ -9,3 +9,2 @@ var fs = require('fs')

var ecc = require('./eccjs')
var sodium = require('chloride')

@@ -136,2 +135,4 @@ var ssbref = require('ssb-ref')

var ecc = require('./eccjs')
return keysToJSON(ecc.restore(toBuffer(private)), 'k256')

@@ -207,6 +208,6 @@ }

var curves = {
ed25519 : require('./sodium'),
k256 : ecc //LEGACY
}
var curves = {}
curves.ed25519 = require('./sodium')
try { curves.k256 = require('./eccjs') }
catch (_) {}

@@ -315,1 +316,3 @@ function getCurve(keys) {

}
{
"name": "ssb-keys",
"description": "keyfile operations for ssb",
"version": "4.0.10",
"version": "5.0.0",
"homepage": "https://github.com/ssbc/ssb-keys",

@@ -14,3 +14,2 @@ "repository": {

"deep-equal": "~0.2.1",
"eccjs": "git://github.com/dominictarr/eccjs.git#586f6d47507184a2efe84684ed0a30605cbc43a5",
"hmac": "~1.0.1",

@@ -22,2 +21,3 @@ "mkdirp": "~0.5.0",

"devDependencies": {
"eccjs": "git://github.com/dominictarr/eccjs.git#586f6d47507184a2efe84684ed0a30605cbc43a5",
"tape": "^3.0.3"

@@ -24,0 +24,0 @@ },

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