#3 Switch to file descriptor 3 as input to sops

This commit is contained in:
Joey Hafner 2024-08-16 12:52:04 -07:00
parent 049ae05b4a
commit bea0e29f89
No known key found for this signature in database

View File

@ -26,5 +26,6 @@ export SOPS_AGE_KEY_FILE=$HOME/.age/key
} >> ~/decrypt-filter.stdout.log 2>> ~/decrypt-filter.stderr.log
{
sops --decrypt $FILE_PATH
exec 3<<< "$(cat $1)"
sops --decrypt /dev/fd/3
} 2>> ~/decrypt-filter.stderr.log