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

ssb-box2

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-box2 - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0

4

package.json
{
"name": "ssb-box2",
"description": "'Envelope' SSB encryption format, for ssb-db2",
"version": "7.0.0",
"version": "7.1.0",
"homepage": "https://github.com/ssbc/ssb-box2",

@@ -22,3 +22,3 @@ "repository": {

"ssb-bfe": "^3.7.0",
"ssb-keyring": "^5.3.2",
"ssb-keyring": "^5.4.0",
"ssb-private-group-keys": "^1.1.1",

@@ -25,0 +25,0 @@ "ssb-ref": "^2.16.0",

@@ -71,3 +71,3 @@ <!--

automatically derived.
- `addGroupInfo(groupId, addInfo, cb)`: `groupId` must be a cloaked message Id or a uri encoded group and `addInfo` must be an object. Can be called multiple times to add multiple read keys. The first key that is added will automatically also be set as the write key. To change the write key, use `pickGroupWriteKey`. Returns a promise if cb isn't provided. `addInfo` can have these keys:
- `addGroupInfo(groupId, addInfo, cb)`: `groupId` must be a cloaked message Id or a uri encoded group and `addInfo` must be an object. Can be called multiple times to add multiple read keys. The first key that is added will automatically also be set as the write key. To change the write key, use `pickGroupWriteKey`. If you add a key to an excluded group, the group will be un-excluded. Returns a promise if cb isn't provided. `addInfo` can have these keys:
- `key` must be a buffer. The key can then be used for decrypting messages from the group, and if picked with `pickGroupWriteKey`, as a "recp" to encrypt messages to the group. Note that the keys are not persisted in this module.

@@ -74,0 +74,0 @@ - `scheme` _String_ - scheme of that encryption key (optional, there is only one option at the moment which we default to)

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