]> WPIA git - nre.git/blob - collectOffline.sh
upd: generate drop-in-able configs for gigi
[nre.git] / collectOffline.sh
1 #!/bin/bash
2
3 cd generated
4
5 PASSW=`head -c15 /dev/random | base64`
6 echo $PASSW > offlinePassword.txt
7 tar c *.ca | openssl enc -e -kfile <(echo -n "$PASSW") -md sha256 -aes-256-cbc > offline.tar.aes-256-cbc
8 PASSW=