diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index ccc05f9..cad9b4d 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -253,7 +253,7 @@ function encrypt_file() { encrypted="$2" echo "========== Encrypting: $unencrypted" >&2 - $GPG --use-agent --yes --trust-model=always --encrypt -o "$encrypted" $(awk '{ print "-r" $1 }' < "$BB_ADMINS") "$unencrypted" >&2 + $GPG --use-agent --yes --encrypt -o "$encrypted" $(awk '{ print "-r" $1 }' < "$BB_ADMINS") "$unencrypted" >&2 echo '========== Encrypting: DONE' >&2 } diff --git a/pkg/crypters/gnupg/gnupg.go b/pkg/crypters/gnupg/gnupg.go index b29f4b5..6abdf8e 100644 --- a/pkg/crypters/gnupg/gnupg.go +++ b/pkg/crypters/gnupg/gnupg.go @@ -106,7 +106,6 @@ func (crypt CrypterHandle) Encrypt(filename string, umask int, receivers []strin a := []string{ "--use-agent", "--yes", - "--trust-model=always", "--encrypt", "-o", encrypted, }