mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-16 05:28:15 +00:00
sops-shell-hook: look for both .asc/.gpg
This commit is contained in:
parent
81ab902811
commit
ec604e56c6
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ sopsShellHook() {
|
||||||
for dir in $sopsGPGKeyDirs; do
|
for dir in $sopsGPGKeyDirs; do
|
||||||
while IFS= read -r -d '' key; do
|
while IFS= read -r -d '' key; do
|
||||||
_sopsAddKey "$key"
|
_sopsAddKey "$key"
|
||||||
done < <(find "$dir" -type f -name '*.asc' -print0)
|
done < <(find "$dir" -type f -name '*.gpg' -o -name '*.asc' -print0)
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue