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