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.
python3.7 --version
pip3 --version
If you do not have python3.7 then look for Python installer for your OS
git clone https://github.com/andrewboss/zkp-auth-py.git
cd zkp-auth-py
pip3 install --user virtualenv
python3.7 -m virtualenv venv
source venv/bin/activate
pip install --upgrade -r requirements.txt
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