mattrglobal / bls12381-key-pair

A library for using BLS 12-381 key pairs
Apache License 2.0
15 stars 10 forks source link

feat: add async api support for bbs-signatures #33

Closed tplooker closed 3 years ago

tplooker commented 3 years ago

Updates this library to use the latest unstable release of bbs-signatures which features support for a new async based API for crypto operations.

Merging in with a dependency on the unstable version for now to test upstream, will be updated to the latest stable version of bbs-signatures prior to a new release of this library.

Description

Motivation and Context

Does this PR introduce a breaking change?

Which merge strategy will you use?

github-actions[bot] commented 3 years ago

Total Coverage: 95.05%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   Bls12381G1KeyPair.ts89.36%76.47%92.21%128, 132, 142, 147, 176, 280, 287, 306, 315, 71, 89
   Bls12381G2KeyPair.ts89.09%95.24%95.51%110, 111, 113, 177, 181, 191, 196, 218, 322, 329
   index.ts100%100%100%
src/types
   BlsCurveName.ts100%100%100%
   index.ts100%100%100%
src/utils
   codec.ts100%100%100%
   index.ts100%100%100%
src/validators
   Bls12381G1Jwk.ts100%100%100%
   Bls12381G2Jwk.ts100%100%100%
   JsonWebKey.ts100%100%100%
   index.ts100%100%100%