This is a zk authenication service and client spike.
-
This will install a
golang
postgres
python
protobufs
stack on your mac-os dev machine. It assumesdocker
is installed too. -
Install from
./install-dev
- Run from
make run
ormake test
within the top level directories. - The server
make test
outputs some coverage metrics. It's about 80% which is fine. Testing is a law of demishing returns.
- This spike adapts the
Chaum–Pedersen Protocol
to support 1-factor authentication, that is, the exact matching of a number (registration password) stored during registration and another number (login password) generated during the login process.
- The top level directorys are isolated and can eventually graduate to repos. This includes a Python client, a Golang server, a Posgres DB and a gPRC API.
- This implements ZK Proof auth client, server and persistnece system.
- The
make
commands work. - Run the
make run-servers
from the root. - The docker images are buiding. The
docker-compose
works too. Check out the associatedmake
commands to ease automation:make compose-up
andmake compose-down
. It's probably best to use these commands to ensure volumes are pruned and the shared lib is included in the build.