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

@aries-framework/bbs-signatures

Package Overview
Dependencies
Maintainers
3
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aries-framework/bbs-signatures

<h1 align="c

  • 0.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
64
decreased by-53.62%
Maintainers
3
Weekly downloads
 
Created
Source


Hyperledger Aries logo

Aries Framework JavaScript - BBS Module

License typescript @aries-framework/bbs-signatures version


Aries Framework JavaScript BBS Module provides an optional addon to Aries Framework JavaScript to use BBS signatures in W3C VC exchange.

Installation

yarn add @aries-framework/bbs-signatures

React Native

When using AFJ inside the React Native environment, temporarily, a dependency for creating keys, signing and verifying, with bbs keys must be swapped. Inside your package.json the following must be added. This is only needed for React Native environments

yarn
+   "resolutions": {
+     "@mattrglobal/bbs-signatures": "@animo-id/react-native-bbs-signatures@^0.1.0",
+   },
    "dependencies": {
      ...
+     "@animo-id/react-native-bbs-signatures": "^0.1.0",
    }
npm
+   "overrides": {
+     "@mattrglobal/bbs-signatures": "@animo-id/react-native-bbs-signatures@^0.1.0",
+   },
    "dependencies": {
      ...
+     "@animo-id/react-native-bbs-signatures": "^0.1.0",
    }

The resolution field says that any instance of @mattrglobal/bbs-signatures in any child dependency must be swapped with @animo-id/react-native-bbs-signatures.

The added dependency is required for autolinking and should be the same as the one used in the resolution.

React Native Bbs Signature has some quirks with setting it up correctly. If any errors occur while using this library, please refer to their README for the installation guide.

Issue with node-bbs-signatures

Right now some platforms will see an "error" when installing the @aries-framework/bbs-signatures package. This is because the BBS signatures library that we use under the hood is built for Linux x86 and MacOS x86 (and not Windows and MacOS arm). This means that it will show that it could not download the binary. This is not an error for developers, the library that fails is node-bbs-signatures and is an optional dependency for performance improvements. It will fallback to a (slower) wasm build.

FAQs

Package last updated on 05 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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