mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-02 21:40:18 +00:00
Ensuring hide is compat with gnupg2.1
This commit is contained in:
parent
6ced466a84
commit
d10c63c67f
@ -139,7 +139,7 @@ function hide {
|
||||
if [[ "$fsdb_file_hash" != "$file_hash" ]]; then
|
||||
# shellcheck disable=2086
|
||||
$gpg_local --use-agent --yes --trust-model=always --encrypt \
|
||||
$recipients -o "$output_path" "$input_path"
|
||||
$recipients -o "$output_path" "$input_path" > /dev/null 2>&1
|
||||
# If -u option was provided, it will update unencrypted file hash
|
||||
local key="$filename"
|
||||
local hash="$file_hash"
|
||||
|
Loading…
Reference in New Issue
Block a user