Skip to content

neongazer/zkp-auth-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkp-auth-py

ZKP Protocol for Authentication in Python 3.7

It is using Chaum-Pedersen proof to prove the equality of exponents of two modular exponentiation with different bases.

New Python Project Setup

1. Check you have Python 3.7 installed and available

python3.7 --version
pip3 --version

If you do not have python3.7 then look for Python installer for your OS

2. Clone project

git clone https://github.com/andrewboss/zkp-auth-py.git
cd zkp-auth-py

3. Install virtualenv python module

pip3 install --user virtualenv

4. Create virtual python environment

python3.7 -m virtualenv venv

5. Activate virtual environment

source venv/bin/activate

6. Install project modules

pip install --upgrade -r requirements.txt

7. Run unit tests:

Main integration test Prover with Verifier:

python -m unittest -v tests/sigma_protocols/chaum_pederson/test_prover_with_verifier.py

or all tests:

python -m unittest discover tests

About

ZKP Protocol for Authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages