Do not use gpg --trust-model=always

- gpg will not create a trustdb when running with --update-trustdb with
   --trust-model=always:
       gpg: no need for a trustdb update with 'always' trust model
 - subsequent gpg calls will fail because there is no trustdb in GPGHOME
This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-08-26 07:58:27 +02:00
parent 850eeb24d5
commit 91d8be5f9c
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -4986,7 +4986,6 @@ sub main() {
'--ignore-time-conflict', '--no-options', '--ignore-time-conflict', '--no-options',
'--no-default-keyring', '--homedir', '--no-default-keyring', '--homedir',
$gpghome, '--no-auto-check-trustdb', $gpghome, '--no-auto-check-trustdb',
'--trust-model', 'always'
); );
my ($ret, $message); my ($ret, $message);
{ {