[Bps-public-commit] GnuPG-Interface branch, master, updated. 0.47_02-4-gabe138d

Alex Vandiver alexmv at bestpractical.com
Mon Mar 10 11:24:44 EDT 2014


The branch, master has been updated
       via  abe138d6912821e164e7a23d058a9cb6657b3ccc (commit)
      from  2470d36b29e2916c981ccc3dbbe7c35715016b74 (commit)

Summary of changes:
 lib/GnuPG/Options.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit abe138d6912821e164e7a23d058a9cb6657b3ccc
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Mar 10 11:21:05 2014 -0400

    --always-trust was documented as deprecated in GnuPG 1.3.4
    
    Switch to equivalent --trust-model=always, which was introduced in
    1.3.1, released in 2002.  For backwards compatibility, preserve the name
    of the advertised GnuPG::Interface option.
    
    Reported-by: Guilhem Moulin <guilhem at cpan.org>

diff --git a/lib/GnuPG/Options.pm b/lib/GnuPG/Options.pm
index 2342558..98e5da0 100644
--- a/lib/GnuPG/Options.pm
+++ b/lib/GnuPG/Options.pm
@@ -130,7 +130,7 @@ sub get_option_args {
     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;

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list