mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 05:27:56 -05:00
8 lines
230 B
Bash
Executable File
8 lines
230 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
i=$1
|
|
|
|
openssl req -newkey rsa -nodes -x509 -out Player-Data/P$i.pem -keyout Player-Data/P$i.key -subj "/CN=P$i"
|
|
|
|
echo Copy Player-Data/P$i.pem to Player-Data/ on all parties and then run c_rehash Player-Data/
|