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:
parent
81ab902811
commit
ec604e56c6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue