-
Notifications
You must be signed in to change notification settings - Fork 0
Trustee's Guide
nicolas le douarec edited this page Jun 29, 2016
·
20 revisions
Login to your code.vote server with your userid and password
$ SSH [email protected]
[email protected]'s password:
-
Generate a trustee keypair with the command line
belenios-tool trustee-keygen --group $GROUP
It will generate two files, XXXXXXXX.pubkey
and XXXXXXXX.privkey
, containing respectively the public and the private key.
-
keep
XXXXXXXX.privkey
with extreme care -
post
XXXXXXXX.pubkey
on the bulletin boardcat *.pubkey >> $DIR/public_keys.jsons
-
erase the files on the server with command
rm -f *
When the election is open, you must check that your public key is present in the published public_keys.jsons
of the bulletin board.
To compute your decryption share, run:
belenios-tool decrypt --privkey /path/to/privkey > XXXXXXXX_decryption.json
Publish XXXXXXXX_decryption.json
to the bulletin board.
Note: be sure to authenticate all your input files when you use your private key!