Files
home-automation/tools/encrypt-certificates.sh
2025-11-30 16:05:41 +01:00

14 lines
203 B
Bash
Executable File

#!/bin/bash
set -e
tar -czvf certificates.tgz ./certificates/
gpg --symmetric --cipher-algo AES256 --armor --pinentry-mode=loopback --output certificates.asc certificates.tgz
rm certificates.tgz