[Bps-public-commit] GnuPG-Interface branch, master, updated. 0.52-52-g45a0830

Jim Brandt jbrandt at bestpractical.com
Wed May 13 10:29:50 EDT 2020


The branch, master has been updated
       via  45a0830df5df3d447d4407e46c1dfd816c87ab60 (commit)
       via  81c6da919abb3abff5a651b2cd52c756c95c020d (commit)
       via  2d0feabf6519da8c20003a281d73a857f6f8eb77 (commit)
       via  385f836985febb1054aac327216cc5826dbf7b22 (commit)
       via  241167a6fb98787241599140e7a2b4b0803c1862 (commit)
       via  bc11defb870da6659954f54f3c358394531e7ebd (commit)
       via  83d52c685cb214a836a4607f7e86fe4f39bec5c1 (commit)
       via  b77a06ee8a3608b2b3bd365476c9b8e567f6c15c (commit)
       via  12a82821746919d7ddf63b7308b90705b85e70f5 (commit)
       via  507904cd216eff115d74fdf41bfa870e454f8357 (commit)
       via  dbe357c4341deb6d41f9ef7a574f7acb7d38a7fc (commit)
       via  00c65d1bcbbb423ae3e96b0727692acc6d85ca25 (commit)
       via  00bf6f175bba3bb38a581955d8f9c9ac21d8d3bc (commit)
       via  67d18c86d1ca3b25b4b12570dc6deaeaf7fece17 (commit)
       via  26cf1b506e16cf416fb1015baa097c4be588e784 (commit)
       via  2a573192319e4acc9364d1ad89e2fcb97203a0df (commit)
       via  0528f629372610afb5989d2f6119a43023220eac (commit)
       via  7f5c845cd4ba52a7a04d25f634b0766495a70bba (commit)
       via  91ba04df1325594f41ee65e3354c8ebcad6dae05 (commit)
       via  f00ea4432c07a95fd5aac062bb56f7224e126584 (commit)
       via  a387dcaa15ff34b84afdafa55347f0c045f89afc (commit)
       via  44f5b98ad39972ccddbbabd8894f815babf817fc (commit)
       via  b6762c9f39a977bfe1e1cf99d29708494d71f7ab (commit)
       via  43a708122e272aef0f059dc79f6098261ae66e81 (commit)
       via  d39f8114e44dbc667f8121c1fe1a00d03b8e497c (commit)
       via  9c5f9d4b99c031840606322e07ebc0775af5918f (commit)
       via  85acd916bbd6dfae0b630ef9072ff393aac75b50 (commit)
       via  2115aaec07ffdbc17469118d6bf60a53868fb2c9 (commit)
       via  af773f7f7ff87b9a1881d75616208d2c3f1a79dc (commit)
       via  d33d4e078ce0dfb0ccc241fb34fedea338259ca5 (commit)
       via  0d63b7bfe5c221004840bb9fda8556446e3c7acf (commit)
       via  6f88de454c0e6167a3cc174a4c4118fee8826af1 (commit)
       via  4efd9cda9b39de44d682444f86cdf2db21626d65 (commit)
       via  42cc6f251cb923a2c55ac884df36eb78b5b772ca (commit)
       via  d72465a97c0e7ee5758ae52a8032dcf828cbdc67 (commit)
       via  e83ff6ff53f79ba3e7ad3370d8d40f45773f9b3b (commit)
       via  31ba007b4de7d2979ce8573fc35cca28f1a13fba (commit)
       via  8835cc5151e5a7b6a80a4f6655c3a8c75ae3c4ed (commit)
       via  205397b25d17cbc9bbd8f64b514b680b7e4a13be (commit)
       via  8d68798f8b5b6caf3654975ce2599bafd95b3058 (commit)
       via  5241873b59a293ac451d3088d94593bdf462c99f (commit)
       via  49d5310d532a96cbb9e3cd45b07812b6d026f13c (commit)
       via  2b630509770bbea5a0aa20417793ca6b01cc8bef (commit)
       via  18068dde145bc0ebff8a8fdc7ec384dc1369fd25 (commit)
       via  1ad31ca89e92c94c3f47a8d436d75859b09a9371 (commit)
       via  cb03617f079bd9912fc8249f128f9a9af75e8070 (commit)
       via  eed2615f6fd0c34ff070ee9f25137e934314dedd (commit)
       via  9ffa3b0a900c494042d8b757f3f22a6f45ca034e (commit)
       via  9f579ba1105849d2d41aa09c41123312afb6269b (commit)
       via  2b6d6d92611f4adc28fafb1ea3a798cbdcedbf86 (commit)
       via  727791ba118861dcd7acb80997f958990e89a6c2 (commit)
       via  7413bf4c210ae29595fc043a440de4ad683f62bd (commit)
      from  32e982f4950d036d729e255b0ca9e9800bfca515 (commit)

Summary of changes:
 .gitignore                            |   2 -
 Changes                               |  11 +++
 Makefile.PL                           |   2 +-
 README                                |  71 ++++++++++++-----
 lib/GnuPG/Fingerprint.pm              |   2 +-
 lib/GnuPG/Handles.pm                  |   2 +-
 lib/GnuPG/Interface.pm                | 145 +++++++++++++++++++++++++++-------
 lib/GnuPG/Key.pm                      |  10 ++-
 lib/GnuPG/Options.pm                  |  17 +++-
 lib/GnuPG/PrimaryKey.pm               |   2 -
 t/000_setup.t                         |  54 +++++++++++++
 t/MyTestSpecific.pm                   |  53 +++++++++++--
 t/decrypt.t                           |  31 ++++++++
 t/encrypt.t                           |   6 +-
 t/export_keys.t                       |   4 +-
 t/get_public_keys.t                   |  71 ++++++++++++-----
 t/get_secret_keys.t                   |  68 +++++++++++++---
 t/list_public_keys.t                  |   4 +-
 t/list_secret_keys.t                  |  31 +++++++-
 t/list_sigs.t                         |   4 +-
 t/sign_and_encrypt.t                  |   2 +-
 t/zzz_cleanup.t                       |  27 +++++++
 test/encrypted.2.gpg                  |  12 +++
 test/fake-pinentry.pl                 |  28 +++++++
 test/{options => gpg.conf}            |   0
 test/new_secret.pgp                   |  58 ++++++++++++++
 test/plain.2.txt                      |   1 +
 test/{pubring.gpg => public_keys.pgp} | Bin
 test/secret-keys/1.0.test             |   8 +-
 test/secret-keys/1.1.test             |  11 +++
 test/secret-keys/1.2.test             |  13 +++
 test/{secring.gpg => secret_keys.pgp} | Bin
 32 files changed, 636 insertions(+), 114 deletions(-)
 create mode 100644 t/000_setup.t
 create mode 100644 t/zzz_cleanup.t
 create mode 100644 test/encrypted.2.gpg
 create mode 100755 test/fake-pinentry.pl
 rename test/{options => gpg.conf} (100%)
 create mode 100644 test/new_secret.pgp
 create mode 100644 test/plain.2.txt
 rename test/{pubring.gpg => public_keys.pgp} (100%)
 create mode 100644 test/secret-keys/1.1.test
 create mode 100644 test/secret-keys/1.2.test
 rename test/{secring.gpg => secret_keys.pgp} (100%)

- Log -----------------------------------------------------------------
commit 2d0feabf6519da8c20003a281d73a857f6f8eb77
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed May 13 09:50:02 2020 -0400

    Document supported gpg versions

diff --git a/README b/README
index be06ef3..7991b4a 100644
--- a/README
+++ b/README
@@ -67,6 +67,18 @@ DESCRIPTION
     handles appropriately, as described in "Bidirectional Communication with
     Another Process" in perlipc.
 
+GnuPG Versions
+    As of this version of GnuPG::Interface, there are two supported versions
+    of GnuPG: 1.4.x and 2.2.x. The GnuPG download page
+    <https://gnupg.org/download/index.html> has updated information on the
+    currently supported versions.
+
+    GnuPG released 2.0 and 2.1 versions in the past and some packaging
+    systems may still provide these if you install the default "gpg",
+    "gnupg", "gnupg2", etc. packages. This modules supports only version
+    2.2.x, so you may need to find additional package repositories or build
+    from source to get the updated version.
+
 OBJECT METHODS
   Initialization Methods
     new( *%initialization_args* )
@@ -154,8 +166,8 @@ OBJECT METHODS
         the passphrase data member of the handles object is defined, then
         GnuPG::Interface assumes that access and control over the secret key
         will be handled by the running gpg-agent process. This represents
-        the simplest mode of operation with the GnuPG "modern" suite
-        (version 2.1 and later). It is also the preferred mode for tools
+        the simplest mode of operation with the GnuPG "stable" suite
+        (version 2.2 and later). It is also the preferred mode for tools
         intended to be user-facing, since the user will be prompted directly
         by gpg-agent for use of the secret key material. Note that for
         programmatic use, this mode requires the gpg-agent and pinentry to
@@ -245,6 +257,10 @@ EXAMPLES
                                   meta_interactive => 0 ,
                                 );
 
+       $gnupg->options->debug_level(4);
+
+       $gnupg->options->logger_file("/tmp/gnupg-$$-decrypt-".time().".log");
+
   Encrypting
       # We'll let the standard error of GnuPG pass through
       # to our own standard error, by not creating
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
index 4c39970..a066134 100644
--- a/lib/GnuPG/Interface.pm
+++ b/lib/GnuPG/Interface.pm
@@ -963,6 +963,19 @@ B<clearsign>.  One then interacts with with the handles
 appropriately, as described in
 L<perlipc/"Bidirectional Communication with Another Process">.
 
+=head1 GnuPG Versions
+
+As of this version of GnuPG::Interface, there are two supported
+versions of GnuPG: 1.4.x and 2.2.x. The
+L<GnuPG download page|https://gnupg.org/download/index.html> has
+updated information on the currently supported versions.
+
+GnuPG released 2.0 and 2.1 versions in the past and some packaging
+systems may still provide these if you install the default C<gpg>,
+C<gnupg>, C<gnupg2>, etc. packages. This modules supports only
+version 2.2.x, so you may need to find additional package
+repositories or build from source to get the updated version.
+
 =head1 OBJECT METHODS
 
 =head2 Initialization Methods

commit 81c6da919abb3abff5a651b2cd52c756c95c020d
Merge: 32e982f 2d0feab
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed May 13 09:54:02 2020 -0400

    Merge branch 'work-with-both-gnupgs'


commit 45a0830df5df3d447d4407e46c1dfd816c87ab60
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed May 13 10:27:56 2020 -0400

    Prep v 1.00

diff --git a/Changes b/Changes
index fc73bb8..55e1ec6 100644
--- a/Changes
+++ b/Changes
@@ -1,12 +1,15 @@
 Revision history for GnuPG-Interface
 
-1.0
+1.0 - 2020-05-13
  - Limit support to GnuPG 2.2+ and 1.4
  - Additional information from keys when using GnuPG 2.2 or higher
  - Add support for use of agent/pinentry
  - Updated options to add ignore_mdc_error and logging
  - Improvements to tests
  - Update pubkey_data documentation
+ - Special thanks to dkg on Github for a large PR with updates for GnuPG 2
+ - Thanks also to ntyni on Github for a pointer to test updates also dealing
+   with version changes
 
 0.52 - 2016-02-16
  - Skip "grp" records, generated by GPG 2.1; this suppresses "unknown
diff --git a/Makefile.PL b/Makefile.PL
index 38aca27..4f15dbe 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -12,7 +12,7 @@ die "Can't determine gpg version"
 die "gpg (GnuPG) 1.4 or later is required" unless $1 >= 1.4;
 
 
-author 'Frank J. Tobin';
+author 'BPS';
 abstract 'supply object methods for interacting with GnuPG';
 name 'GnuPG-Interface';
 version_from 'lib/GnuPG/Interface.pm';
diff --git a/README b/README
index 7991b4a..9b2feb2 100644
--- a/README
+++ b/README
@@ -456,8 +456,8 @@ LICENSE
     under the same terms as Perl itself.
 
 AUTHOR
-    GnuPG::Interface is currently maintained by Jesse Vincent
-    <jesse at cpan.org>.
+    GnuPG::Interface is currently maintained by Best Practical Solutions
+    <BPS at cpan.org>.
 
     Frank J. Tobin, ftobin at cpan.org was the original author of the package.
 
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
index a066134..d30a1ae 100644
--- a/lib/GnuPG/Interface.pm
+++ b/lib/GnuPG/Interface.pm
@@ -28,7 +28,7 @@ use Math::BigInt try => 'GMP';
 use GnuPG::Options;
 use GnuPG::Handles;
 
-$VERSION = '0.52';
+$VERSION = '1.00';
 
 has $_ => (
     isa     => 'Any',
@@ -1444,7 +1444,7 @@ under the same terms as Perl itself.
 
 =head1 AUTHOR
 
-GnuPG::Interface is currently maintained by Jesse Vincent <jesse at cpan.org>.
+GnuPG::Interface is currently maintained by Best Practical Solutions <BPS at cpan.org>.
 
 Frank J. Tobin, ftobin at cpan.org was the original author of the package.
 

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


More information about the Bps-public-commit mailing list