Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@or13/bbs-node-reference

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@or13/bbs-node-reference

BBS node reference implementation

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

BBS Reference Implementation

This is a fork of a work in progress, see the upstream for latest details:

  • https://github.com/microsoft/bbs-node-reference

CI Branches Functions Lines Statements Jest coverage

WORK IN PROGRESS

TypeScript reference implementation for the BBS signature scheme. The goal is to help understand and verify the specification. This is NOT a production-ready implementation; testing is minimal and no effort is made to optimize and protect against specialized attacks (e.g., side-channel resistance).

This project aims to keep up to date with the latest specification, but may be behind since the specification changes often; the current implementation matches the 11 March 2023 version of the specification, matching the draft-irtf-cfrg-bbs-signatures-02 version submitted to the CFRG.

Given the rapid evolution of the BBS scheme, there might be inconsistencies between the specification and the code; please open issues or file PRs if you find any!

Known issues

This library is a work in progress. Here are some known issues:

  • Only the BLS12-381-SHA-256 ciphersuite is currently available

Setup

Make sure node.js and npm are installed on your system; the latest Long-Term Support (LTS) version is recommended for both.

  • Get the source, for example using git
git clone -b main https://github.com/microsoft/bbs-node-reference.git
cd bbs-node-reference
  • Build the npm package
npm install
npm run build
  • Optionally, run the unit tests
npm test
  • Optionally, run the sample program
npm run bbs

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

FAQs

Package last updated on 18 Mar 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