diff --git a/tools/decrypt-certificates.sh b/tools/decrypt-certificates.sh index a04b369..b32be3c 100755 --- a/tools/decrypt-certificates.sh +++ b/tools/decrypt-certificates.sh @@ -4,10 +4,9 @@ set -e -gpg --decrypt --pinentry-mode=loopback --output secrets.tgz secrets.asc +gpg --decrypt --pinentry-mode=loopback --output certificates.tgz certificates.asc -tar -xzvf secrets.tgz ./secret-configuration/ - -rm secrets.tgz +tar -xzvf certificates.tgz ./certificates/ +rm certificates.tgz