blob: 26526971ce47df7fe028f4bc7502d706576b2bcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
if ! rpm -q gnupg > /dev/null || ! rpm -q ssss > /dev/null
then
echo "gnupg and ssss packages need to be installed" >&2
exit 1
fi
GPGHOMEDIR="./homedir"
PUBDIR="./public"
PRIVDIR="./private"
INPUTDIR="./input"
pubkey="$PUBDIR/mageia-board-pubkey.gpg"
seckey="$PRIVDIR/mageia-board-seckey"
seckey_e="$PRIVDIR/mageia-board-seckey.gpg"
passphrase="$PRIVDIR/passphrase"
ssplit="/usr/bin/ssss-split"
scombine="/usr/bin/ssss-combine"
partsdir="$PRIVDIR/parts"
nb_threshold=3
nb_shares=6
|