diff --git a/README.md b/README.md index 788693c..8193272 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # go-bbs +[![Go Report Card](https://goreportcard.com/badge/github.com/suutaku/go-bbs)](https://goreportcard.com/report/github.com/suutaku/go-bbs) +[![GitHub release](https://img.shields.io/github/release/suutaku/go-bbs?include_prereleases=&sort=semver&color=blue)](https://github.com/suutaku/go-bbs/releases/) +[![License](https://img.shields.io/badge/License-MIT-blue)](#license) +[![dependency - github.com/suutaku/bls12381](https://img.shields.io/badge/dependency-github.com%2Fsuutaku%2Fbls12381-blue)](https://pkg.go.dev/github.com/suutaku/bls12381) A **BBS++** signature pure go implementation refer to [hyperledger/ursa](https://github.com/hyperledger/ursa.git) (**Rust**) and [heyperledger/aries-framework-go](https://github.com/hyperledger/aries-framework-go.git) (**Without Blind sign**). + ## Keygen @@ -121,6 +126,10 @@ VerifyProof verifies BBS+ signature proof for one or more revealed messages. err := bbsInstance.VerifyProof(messagesBytes, proof, nonce, pubKeyBytes) ``` +## License + +Released under [MIT](/LICENSE) by [@suutaku](https://github.com/suutaku). + diff --git a/go.mod b/go.mod index 759d9a8..574c237 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/suutaku/go-bbs go 1.18 require ( - github.com/gtank/merlin v0.1.1 github.com/stretchr/testify v1.8.0 github.com/suutaku/bls12381 v0.0.0-20220909105542-17195eab9a7d golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 @@ -11,7 +10,6 @@ require ( require ( github.com/davecgh/go-spew v1.1.1 // indirect - github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 640a57a..c033e78 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= -github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 h1:hLDRPB66XQT/8+wG9WsDpiCvZf1yKO7sz7scAjSlBa0= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=