VRLog provides a transparent record of voter registration data using transparency logs.
Note that election officials are expected to authenticate voters separately before modifying their record.
- Download trillian version 1.3.12:
git clone https://github.com/google/trillian && git checkout 4e6e1221e01dd615e0286a5eeeaf6f974e354f6e
- Create the volume:
docker volume create --name=trillian-data
- In the trillian folder, run
docker-compose -f examples/deployment/docker-compose.yml up
. - Run
make createmap && make createlog && make createmaplog
to generate the map.
- Run
go get github.com/google/trillian@4e6e1221e01dd615e0286a5eeeaf6f974e354f6e
- Run
make mapper
to start the server. - Navigate to
http://localhost:8084
VRLog supports the following API endpoints:
Creates or updates a voter. id
is required.
Example body:
{"firstName": "Test", "lastName": "Voter", "id": "1234"}
Fetches the stored entry given the public id.
Marks the voter registration as inactive given the public id.
Returns the membership proof for the given public id.
Verifies the supplied membership proof.
Proves that the log is append only up to the specified first size.
Verifies that the log is append only up to the specified first size.