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.
Please contact Joel Robles or Miguel Schweizer if there are any questions.
All test vectors of the Version 5 of the BBS Draft are implemented and passing.
The crypto Library we used is developed by Prof. Dr. Rolf Haenni. To use the Library follow these easy steps:
- Go into the
bbs
folder - Run
mvn install:install-file -Dfile=./src/main/resources/src/BLS12-381-1.0.5.jar -DpomFile=./src/main/resources/pom.xml
This package is used by the openchvote package.
Sadly it doesn't install itself, so it must be done manually.
Download it from here.
Then move all the files into ~/.m2/repository/com/verificatum/vmgj/1.2.2
You may need to create some of those folders yourself.
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.
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!