]>
Git — Sourcephile - sourcephile-nix.git/blob - share/nebula/sourcephile.fr/sign.sh
8 caKey
=$(mktemp /dev/shm/secret.XXXXXXX)
9 trap 'chmod 600 $caKey; shred --remove=unlink $caKey' EXIT
10 gpg
--batch --decrypt "$dir/ca.key.gpg" > "$caKey"
12 nix shell nixpkgs
#nebula -c \
14 -name "$host.sourcephile.fr" \
15 -ip "10.0.0.${num}/16" \
16 --groups "sourcephile,intra" \
17 -ca-crt "$dir/ca.crt" \
19 -in-pub "$dir/$host.pub" \
20 -out-crt "$dir/$host.crt"