1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

sops-shell-hook: look for both .asc/.gpg

This commit is contained in:
Jörg Thalheim 2020-07-13 07:17:18 +01:00
parent 81ab902811
commit ec604e56c6
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -14,7 +14,7 @@ sopsShellHook() {
for dir in $sopsGPGKeyDirs; do
while IFS= read -r -d '' key; do
_sopsAddKey "$key"
done < <(find "$dir" -type f -name '*.asc' -print0)
done < <(find "$dir" -type f -name '*.gpg' -o -name '*.asc' -print0)
done
}