Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roblesjoel/P2_BBS_Signature
This is the official repository of the P2 project about BBS+ Signatures
https://github.com/roblesjoel/P2_BBS_Signature
bbs bfh project signatures
Last synced: about 2 months ago
JSON representation
This is the official repository of the P2 project about BBS+ Signatures
- Host: GitHub
- URL: https://github.com/roblesjoel/P2_BBS_Signature
- Owner: roblesjoel
- Created: 2023-09-28T09:24:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-08T14:14:13.000Z (11 months ago)
- Last Synced: 2024-08-09T07:08:55.022Z (6 months ago)
- Topics: bbs, bfh, project, signatures
- Language: Java
- Homepage:
- Size: 14.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is the official repository of the Project 2 (course module) project about BBS Signatures.
The project is part of the Bsc Computer Science course at the [BFH](https://www.bfh.ch).Please contact [Joel Robles](mailto:[email protected]) or [Miguel Schweizer](mailto:[email protected]) if there are any questions.
# Test Vectors
All test vectors of the Version 5 of the [BBS Draft](https://datatracker.ietf.org/doc/draft-irtf-cfrg-bbs-signatures/) are implemented and passing.
# How to play around with the implementation
### Crypto Library
The crypto Library we used is developed by Prof. Dr. Rolf Haenni.
To use the Library follow these easy steps:
1. Go into the `bbs` folder
2. Run `mvn install:install-file -Dfile=./src/main/resources/src/BLS12-381-1.0.5.jar -DpomFile=./src/main/resources/pom.xml`### Download and install the verificatum package
This package is used by the openchvote package.
Sadly it doesn't install itself, so it must be done manually.
Download it from [here](https://gitlab.com/openchvote/cryptographic-protocol/-/tree/master/project-maven-repo/com/verificatum/vmgj/1.2.2?ref_type=heads).
Then move all the files into `~/.m2/repository/com/verificatum/vmgj/1.2.2`
You may need to create some of those folders yourself.### Run the demo
Then `cd bls` and run `mvn package` to install all the needed packages.
Finally you can let it run with the command `mvn exec:java`.
This will run the code in the MainBBS.java file.### Run your own demo
Just look at the MainBBS.java file and implement a small demo for yourself.
Please report any bugs you find while running your own demo.
Thanks!