Subject: | --always-trust is deprecated in favor of --trust-model=always |
Hi,
From GnuPG 1.4.16/2.0.22's manpage:
--always-trust
Identical to --trust-model always. This option is deprecated.
I therefore propose the following trivial patch against GnuPG::Options 0.47_02:
--8<-------------------------------------------------------------->8--
--- a/GnuPG/Options.pm
+++ b/GnuPG/Options.pm
@@ -130,7 +130,7 @@
push @args, '--no-verbose' if $self->no_verbose();
push @args, '--quiet' if $self->quiet();
push @args, '--batch' if $self->batch();
- push @args, '--always-trust' if $self->always_trust();
+ push @args, '--trust-model=always' if $self->always_trust();
push @args, '--comment', $self->comment() if defined $self->comment();
push @args, '--force-v3-sigs' if $self->force_v3_sigs();
push @args, '--rfc1991' if $self->rfc1991;
--8<-------------------------------------------------------------->8--
Cheers,
--
Guilhem.