Permalink
Commits on Feb 17, 2015
  1. Checking in changes prior to tagging of version 0.52.

    alexmv committed Feb 17, 2015
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 31e4d36..b42fd07 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,14 @@
     Revision history for GnuPG-Interface
    
    +0.52 - 2016-02-16
    + - Skip "grp" records, generated by GPG 2.1; this suppresses "unknown
    +   record type" warnings
    + - Add explicit Fatal dependency; though nominally part of code perl,
    +   RedHat's perl does not ship with it
    + - Ensure that the trustdb is created before attempting to encrypt; gpg2
    +   requires that it exist, even for commands with --trust-model=always.
    +   See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751266
    +
     0.51 - 2014-12-17
      - Update README file
      - Work around gpg2 bug by omitting --homedir during symmetric
  2. Ensure that the trustdb is created before attempting to encrypt

    alexmv committed Feb 17, 2015
    gpg2 requires that $GNUPGHOME/trustdb.gpg exist, even for commands with
    --trust-model=always which need not interact with the trust database.
    gpg 1.4 does not have this restriction, and a fix for the gpg2 bug will
    appear in 2.0.26; see [1].
    
    This shows up as a test failure if using gpg2, but is also dependent on
    test ordering; most other tests result in the creation of the trustdb
    implicitly.  Unfortunately, as the format of the trustdb depends on the
    version, it cannot simply be shipped as part of the distribution.
    
    Explicitly create the trustdb before the one test that is susceptible to
    the above gpg2 bug; all other tests currently deal gracefully with the
    lack of a trustdb.
    
    [1] http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=07006c99
  3. Whitespace cleanup tests

    alexmv committed Feb 17, 2015
  4. Add explicit Fatal dependency, for RedHat

    alexmv committed Feb 17, 2015
    Though Fatal is part of core, RedHat's perl does not ship with it, and
    thus installing GnuPG::Interface fails.  Provide the explicit
    dependency.
Commits on Dec 29, 2014
  1. Typo fix

    alexmv committed Dec 29, 2014
Commits on Dec 17, 2014
  1. Checking in changes prior to tagging of version 0.51.

    alexmv committed Dec 17, 2014
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 630ff3b..31e4d36 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,10 @@
     Revision history for GnuPG-Interface
    
    +0.51 - 2014-12-17
    + - Update README file
    + - Work around gpg2 bug by omitting --homedir during symmetric
    +   encryption
    +
     0.50 - 2014-03-14
      - Version 0.49 implicitly required Moose; switch to a technique that
        does not
  2. Omit --homedir for symmetric encryption, to work around gpg2 bug

    alexmv committed Dec 17, 2014
    GnuPG 2.0.x contains a bug wherein providing a --homedir option to
    symmetric encryption (which is not necessary, as there are no keys
    involved) encrypts successfully, but errors because it cannot connect to
    the (unused) GPG agent:
    
        https://bugs.g10code.com/gnupg/issue1427
        https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=841588
    
    Work around this issue by clearing the homedir, if set, before symmetric
    encryption, and setting back to its previous value afterward.
Commits on Dec 2, 2014
  1. Generate the README from the POD, not from `man`

    alexmv committed Dec 2, 2014
    This removes overstruck letters from the README, and updates it
Commits on Mar 14, 2014
  1. Checking in changes prior to tagging of version 0.50.

    alexmv committed Mar 14, 2014
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 78dcc10..630ff3b 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,10 @@
     Revision history for GnuPG-Interface
    
    +0.50 - 2014-03-14
    + - Version 0.49 implicitly required Moose; switch to a technique that
    +   does not
    + - Modernize CHANGES
    +
     0.49 - 2014-03-13
      - Restore context-sensitive (array/arrayref) behavior of multiple array
        methods from 0.46.
  2. Top-level directory cleanup

    alexmv committed Mar 14, 2014
  3. Reformat into standard Changes

    alexmv committed Mar 14, 2014
  4. Using ->meta->add_method requires Moose; do it ourselves

    alexmv committed Mar 14, 2014
    Unfortunately, Moo does not define a meta-class; if ->meta is called, it
    bootstraps to Moose.  To avoid an implicit Moose dependency, swap to
    doing the equivalent ourselves, using stash manipulation.
Commits on Mar 13, 2014
  1. Checking in changes prior to tagging of version 0.49.

    alexmv committed Mar 13, 2014
    Changelog diff is:
    
    diff --git a/ChangeLog b/ChangeLog
    index cfa49d1..7cca2bc 100644
    --- a/ChangeLog
    +++ b/ChangeLog
    @@ -1,3 +1,8 @@
    +0.49	Thu Mar 13 13:05:17 EDT 2014
    +	Restore context-sensitive (array/arrayref) behavior of multiple
    +	array methods from 0.46.
    +	Fix MANIFEST/.gitignore inconsistency
    +
     0.48    Mon Mar 10 11:26:17 EDT 2014
     	Switch from --always-trust to --trust-model=always
  2. Update packaging files

    alexmv committed Mar 13, 2014
  3. Restore context-sensitive behavior of methods lost in 4ea1179

    alexmv committed Mar 13, 2014
    The conversion from Any::Moose to Moo in 4ea1179 changed the API in an
    important way: several accessors which were previously marked auto_deref
    began returning arrayrefs in scalar context, as Moo does not support
    auto_deref.  This broke modules which relied on the methods returning
    arrays in list context.
    
    Restore the context-sensitive behavior by re-implementing auto_deref for
    accessors which used it.  This also reverts code which was adjusted in
    4ea1179 because of the loss of auto_deref.
Commits on Mar 10, 2014
  1. Checking in changes prior to tagging of version 0.48.

    alexmv committed Mar 10, 2014
    Changelog diff is:
    
    diff --git a/ChangeLog b/ChangeLog
    index 96f959e..cfa49d1 100644
    --- a/ChangeLog
    +++ b/ChangeLog
    @@ -1,3 +1,9 @@
    +0.48    Mon Mar 10 11:26:17 EDT 2014
    +	Switch from --always-trust to --trust-model=always
    +
    +0.47    Mon Mar 10 11:06:17 EDT 2014
    +	No changes from 0.47_02
    +
     0.47_02 Fri Feb 14 11:16:17 EST 2014
     	Remove a stray 'use Data::Dumper::Concise' added in 0.47_01
  2. --always-trust was documented as deprecated in GnuPG 1.3.4

    alexmv committed Mar 10, 2014
    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@cpan.org>
  3. Ignore generated MYMETA.* files

    alexmv committed Mar 10, 2014
  4. Make gitignore use fixed paths

    alexmv committed Mar 10, 2014
  5. Checking in changes prior to tagging of version 0.47.

    alexmv committed Mar 10, 2014
    Changelog diff is:
Commits on Feb 14, 2014
  1. Checking in changes prior to tagging of version 0.47_02.

    alexmv committed Feb 14, 2014
    Changelog diff is:
    
    diff --git a/ChangeLog b/ChangeLog
    index 9d91430..96f959e 100644
    --- a/ChangeLog
    +++ b/ChangeLog
    @@ -1,3 +1,6 @@
    +0.47_02 Fri Feb 14 11:16:17 EST 2014
    +	Remove a stray 'use Data::Dumper::Concise' added in 0.47_01
    +
     0.47_01 Mon Jan 27 17:03:17 EST 2014
     	Switch from Any::Moose to Moo
     	Accept "gpg (GnuPG/MacGPG2)" as a valid gpg version
Commits on Jan 27, 2014
  1. Checking in changes prior to tagging of version 0.47_01.

    alexmv committed Jan 27, 2014
    Changelog diff is:
    
    diff --git a/ChangeLog b/ChangeLog
    index 8c46d6e..9d91430 100644
    --- a/ChangeLog
    +++ b/ChangeLog
    @@ -1,3 +1,8 @@
    +0.47_01 Mon Jan 27 17:03:17 EST 2014
    +	Switch from Any::Moose to Moo
    +	Accept "gpg (GnuPG/MacGPG2)" as a valid gpg version
    +	Typo fixes in documentation
    +
     0.46 Thu Oct 25 14:04:17 EDT 2012
    
     	Add a ->search_keys method
  2. Convert to Moo.

    intrigeri committed with alexmv Dec 24, 2013
    ... using MooX::late to ease the transition.
    
    Notes:
    
    * __PACKAGE__->meta->make_immutable is now useless: Moo does it automatically
      the first time ->new is called on a class.
    * auto_deref is not supported by Moo, so we explicitly dereference things in the
      few places where they were automatically dereferenced before.
    * Instead of __PACKAGE__->meta->add_method (that would trigger the load of
      Moose, and require a dependency on it), use MooX::HandlesVia NativeTrait-like
      behaviour to generate push_$list methods.
    * The test suite still passes successfully.
Commits on Nov 12, 2012
  1. fixing typo

    dkg committed with alexmv Oct 6, 2010
  2. fix typo in pod for GnuPG::Key

    dkg committed with alexmv Oct 2, 2010
Commits on Oct 25, 2012
  1. Checking in changes prior to tagging of version 0.46.

    alexmv committed Oct 25, 2012
    Changelog diff is:
  2. Checking in changes for 0.46

    alexmv committed Oct 25, 2012
Commits on Sep 17, 2012
  1. Enforce that command_args always have a leading --

    alexmv committed Sep 17, 2012
    command_args is meant for things that are _not_ options to GnuPG, but
    rather arguments that should never be interpreted as options (options
    should always be passed via ->options) Ensure that malicious values in
    command_args that start with "--" are never interpreted as options, by
    prepending a bare "--" to the argument list.
Commits on Dec 12, 2011
  1. Remove effectively dead code for gpg2 checking

    alexmv committed Dec 12, 2011
    Two places attempted to test for gpg 1.4, or fall back to gpg2 if it
    existed.  However, because it either 'die'd or 'last'ed, it was
    impossible to reach the gpg2 iteration of the loop.  Simply remove the
    useless loop, and test for the presence of 'gpg', as well as its
    version.