Files
home-automation/tools/decrypt-certificates.sh

13 lines
171 B
Bash
Executable File

#!/bin/bash
set -e
gpg --decrypt --pinentry-mode=loopback --output certificates.tgz certificates.asc
tar -xzvf certificates.tgz ./certificates/
rm certificates.tgz