diff --git a/homelab/.sops/decrypt-filter.sh b/homelab/.sops/decrypt-filter.sh index 4676319f..77bb2bcd 100755 --- a/homelab/.sops/decrypt-filter.sh +++ b/homelab/.sops/decrypt-filter.sh @@ -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