Skip Menu |

This queue is for tickets about the GnuPG-Interface CPAN distribution.

Report information
The Basics
Id: 93707
Status: resolved
Priority: 0/
Queue: GnuPG-Interface

People
Owner: Nobody in particular
Requestors: guilhem [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.46
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #93707] --always-trust is deprecated in favor of --trust-model=always
Date: Mon, 10 Mar 2014 11:33:28 -0400
To: bug-GnuPG-Interface [...] rt.cpan.org
From: Alex Vandiver <alex [...] chmrr.net>
On Mon, 2014-03-10 at 10:51 -0400, Guilhem Moulin via RT wrote: Show quoted text
> 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:
Thanks, applied (as abe138d and 0237344) and included in 0.48. - Alex