-
Notifications
You must be signed in to change notification settings - Fork 0
Census Guide
login to your code.vote server with your userid and password
$ SSH [email protected]
[email protected]'s password:
If you have a list of voters in a file F
with N
lines, one voter identifier per line, run:
belenios-tool credgen --uuid $UUID --group $GROUP --file F
otherwise to generate N anonymous voting keys
belenios-tool credgen --uuid $UUID --group $GROUP --count N
It will generate three files with N
lines:
-
TTTTTT.privcreds
: each line of this file contains the voter identifier and a private voting key. Keep this file secret, and secure if you want to be able to re-send a voting key later (e.g. if a voter lost or did not receive it). -
TTTTTT.pubcreds
: each line of this file contains the public voting keys. -
TTTTTT.hashcreds
: each line of this file contains, for each identifier inTTTTTT.privcreds
, the hash of the corresponding public key.
-
publish
TTTTTT.pubcreds
aspublic_creds.txt
to the bulletin boardcat *.pubcreds >> $DIR/public_creds.txt
-
distribute to each voter the private voting key corresponding to her identifier as per
TTTTTT.privcreds
-
keep a copy of
TTTTTT.privcreds
in a safe place -
erase all files with command line
rm -f *