This commit is contained in:
Matthew Binning 2026-01-21 14:40:01 -08:00
parent f9a3cf5b71
commit 4e379cec6b
No known key found for this signature in database

View file

@ -156,8 +156,8 @@ encrypt:
echo "Warning: GPG_PRIVATE_KEY not set. Using existing keyring." echo "Warning: GPG_PRIVATE_KEY not set. Using existing keyring."
fi fi
- echo "$GPG_PUBLIC_KEY" | gpg --import - echo "$GPG_PUBLIC_KEY" | gpg --import
# WIP - |
- echo 'DD0007338E2C43BD553D569377D9D93F96483723:6:' | gpg --import-ownertrust echo 'DD0007338E2C43BD553D569377D9D93F96483723:6:' | gpg --import-ownertrust
- echo "Encrypting hello-world.tar.gz..." - echo "Encrypting hello-world.tar.gz..."
- | - |
gpg --batch --yes \ gpg --batch --yes \
@ -166,7 +166,7 @@ encrypt:
--sign --default-key B35BF119FC3AE04C \ --sign --default-key B35BF119FC3AE04C \
--encrypt -r 6C4C078A1C72925E \ --encrypt -r 6C4C078A1C72925E \
-o hello-world.tar.gz.gpg \ -o hello-world.tar.gz.gpg \
hello-world.tar.gz 3<<<"$[[ inputs.gpg_passphrase ]]" hello-world.tar.gz 3<<<'$[[ inputs.gpg_passphrase ]]'
- | - |
if [ -f "hello-world.tar.gz.gpg" ]; then if [ -f "hello-world.tar.gz.gpg" ]; then
echo "Encryption successful!" echo "Encryption successful!"