Skip to content

Files

Latest commit

Feb 25, 2022
3737b26 · Feb 25, 2022

History

History

testkeys

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022
Feb 25, 2022

Test Keys for MP-SPDZ

JUST for development & testing purposes!

NEVER PUBLISH PRIVATE KEYS!

This directory contains public and private keys used by MP-SPDZ.

To generate new keys you can use the genkeys.yml file, from the root of the repo:

docker-compose -f testkeys/genkeys.yml up

or from the directory where this README.md is:

docker-compose -f genkeys.yml up

By default it will create keys for 4 players. If you need to generate a different number replace "4" in the following line in genkeys.yml:

    command: ["4"]

For 100 players:

    command: ["100"]

Note that the file ownership will root and you can change it to your user with:

sudo chown -R `id -un`:`id -gn` testkeys/