[libgnupg-interface-perl] annotated tag debian/0.52-9 created (now e04137d)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to annotated tag debian/0.52-9 in repository libgnupg-interface-perl. at e04137d (tag) tagging f1c9d17a0ecb8bf6c65cc9092f8da161742eda1f (commit) replaces debian/0.52-8 tagged by Daniel Kahn Gillmor on Sun May 28 10:49:31 2017 -0400 - Log - libgnupg-interface-perl Debian release 0.52-9 -BEGIN PGP SIGNATURE- iQJKBAABCgA0FiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkq43sWHGRrZ0BmaWZ0 aGhvcnNlbWFuLm5ldAAKCRAUmK3GwZIyN21JD/9GFnop+GHnRBS7Yv9bJBmgKxUr nuiV4O3Gofmb1EHtlR0Cpi/VZoWCGIrfw++CaEzQebodsyTG8c4Qm0TJzf6W94cz ry4b71igaDY5HktcOFLkDnY2DrU0kSDNBDexO7r2Mi5LOm0fnrpAX2nK70KrnYQO vq+z+I34Avl/lxYhb+yq2riVmO7fVK22mf31gB14ZTGmzf3cAOBvc8NUH3JPuxgu 9lYIGicw+4sx65u2YLFwPBoSz0Xg0u3H2opjvD24C+n4YYqyHTzeWyBaVYeOmUS7 GYGXNF+io8nbqLgcdLXN2x7weaT5THYoNtF3Eq2gC0+i003M+syXq5JizeO85wTy Y4rkA2DorMrH2w3nCx8I+HTcRYQBA9fq9CLOsS9E+68gAOWX3yAH3Yay9cUZyfYM NvRp+PZDhZo7McTeaEtYJQvWp+jn+wTrc5GgJrlfIWoVYDqKgPrBzvFx8vh04X7h QyMj2Kk9SixhD2T3l7E18IAeDzJMWASmVCBzhxJvtDSsM1B5IcyPbsahvpiGXRs0 wJkHMwKdPwn/JwRyC09OVbA0IDl56xsEfYTepW/tAVJWwsi97X20bnCHT0dJzbS9 Xwc0ZO10AVjg/zM1jXm9LETOPLA72F0QZ5p1qVD0PevQoIfW5YDDZSCQwSj0BHpY c+jVUwStgm0Sogq/zg== =o30u -END PGP SIGNATURE- Daniel Kahn Gillmor (1): prepare upload to unstable --- This annotated tag includes the following new commits: new f1c9d17 prepare upload to unstable The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] branch master updated (b016f8c -> f1c9d17)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to branch master in repository libgnupg-interface-perl. from b016f8c releasing package libgnupg-interface-perl version 0.52-5 adds 816a17a enable use of in-band passwords as well as agent adds 6e5f54f clean up test suite output adds 2caa7ce prepare release to experimental adds 1977297 Use temporary, short-path GNUPGHOME for test suites (Closes: #861591) adds 598c984 prepare debian release adds d92a63e enable working with gpg1 and in-band passwords adds f75c03a prepare another relase targeting RT new f1c9d17 prepare upload to unstable The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 29 ++ debian/clean | 7 + debian/control | 2 +- .../0009-clean-up-trailing-whitespace.patch| 112 .../patches/0010-fix-capitalization-of-GnuPG.patch | 35 +++ .../0011-ommand_args-should-be-command_args.patch | 21 ++ ...rints-as-inputs-during-tests-to-demonstra.patch | 265 ++ .../0013-move-key-files-to-generic-names.patch | 33 +++ ...0014-fix-spelling-s-convience-convenience.patch | 53 ...-new-secret-key-with-different-passphrase.patch | 117 ...-gpg-without-explicit-passphrase-agent-pi.patch | 302 + ...uPG-agent-before-and-after-the-test-suite.patch | 42 +++ ...t-temporary-homedir-during-the-test-suite.patch | 110 ...-work-with-gpg1-assuming-plain-gpg-is-mod.patch | 51 debian/patches/series | 11 + 15 files changed, 1189 insertions(+), 1 deletion(-) create mode 100644 debian/clean create mode 100644 debian/patches/0009-clean-up-trailing-whitespace.patch create mode 100644 debian/patches/0010-fix-capitalization-of-GnuPG.patch create mode 100644 debian/patches/0011-ommand_args-should-be-command_args.patch create mode 100644 debian/patches/0012-use-fingerprints-as-inputs-during-tests-to-demonstra.patch create mode 100644 debian/patches/0013-move-key-files-to-generic-names.patch create mode 100644 debian/patches/0014-fix-spelling-s-convience-convenience.patch create mode 100644 debian/patches/0015-added-new-secret-key-with-different-passphrase.patch create mode 100644 debian/patches/0016-Test-use-of-gpg-without-explicit-passphrase-agent-pi.patch create mode 100644 debian/patches/0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch create mode 100644 debian/patches/0018-Use-a-short-temporary-homedir-during-the-test-suite.patch create mode 100644 debian/patches/0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] annotated tag debian/0.52-8 created (now 62b25c8)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to annotated tag debian/0.52-8 in repository libgnupg-interface-perl. at 62b25c8 (tag) tagging f75c03a168168fe99dee6529d256ab4b132a1457 (commit) replaces debian/0.52-7 tagged by Daniel Kahn Gillmor on Fri May 26 19:56:16 2017 -0400 - Log - libgnupg-interface-perl Debian release 0.52-8 -BEGIN PGP SIGNATURE- iQJKBAABCgA0FiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkowKAWHGRrZ0BmaWZ0 aGhvcnNlbWFuLm5ldAAKCRAUmK3GwZIyN0zuD/9OSd0bea9GQgCJxux70yMPRwr8 p8g//oA9CtOLQaOw6Ij5LdfkRuTGFfgsmoRi9q5Mhqt+zsS7Nc+/2O3UjbdZ4r6D 1jA8dG46443RU5SVMV7JN3WqZ8XFV1Xm7InEl0a8lnnuXEzKnx4Ces1WfM6jiyiH NtKxTde77lMZalvdzgg0UXmqsrEV7KnclHxnrzS3qjiAQ5OceLP0OEZgCpuo3477 Tky9Aw+BQDUQc4UeLoDhKtOL9Fe9nGoSgeqNl8iC8kpDj6Q2a8aGUtrVgRoM7ICQ 2YXvZINd1AJ1rN1109yQg/bXhZYgGRi7eaJZtMC5jVjHyVJ9ziCygmORXtG8Xi8o PKf3Wxl4qK0SXR4VznwCE9A0Y3HFBcekzV431HlMXITpmA2ASkEpdj3SHwco/4un QYHKr3SdnJgRW1IWlOJJRwuUe/Zy9/pX7wFMOKFfcl9rsy58g9b6DhoFrYDE2faF Wwom7AObcGU9IIZO9cofnQLFDb7506xWfnDNAp1rxiLOwZeMP9tF6hizmn/+hsS6 q7qmRioFpDQFA3E00ngEU9dZ8ZWeXf12XxABYK+KEKKbBZr0KA8ofbZpOZw95vRe vBI2sK0IGfmSduNwm0hKLaCvYVGpmvv2VdCDYLP8Pi1csbN7/+3iE/HTV9GyjPh4 hRdwv6Bn0JrKC0uZvA== =ZG5L -END PGP SIGNATURE- Daniel Kahn Gillmor (2): enable working with gpg1 and in-band passwords prepare another relase targeting RT --- This annotated tag includes the following new commits: new d92a63e enable working with gpg1 and in-band passwords new f75c03a prepare another relase targeting RT The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 01/02: enable working with gpg1 and in-band passwords
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch experimental in repository libgnupg-interface-perl. commit d92a63e4b20a6aa8317f7226012a0f776e3cb9f4 Author: Daniel Kahn Gillmor Date: Fri May 26 19:54:45 2017 -0400 enable working with gpg1 and in-band passwords --- ...-work-with-gpg1-assuming-plain-gpg-is-mod.patch | 51 ++ debian/patches/series | 1 + 2 files changed, 52 insertions(+) diff --git a/debian/patches/0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch b/debian/patches/0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch new file mode 100644 index 000..ae61431 --- /dev/null +++ b/debian/patches/0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch @@ -0,0 +1,51 @@ +From: Daniel Kahn Gillmor +Date: Fri, 26 May 2017 18:15:24 -0400 +Subject: Make things work with gpg1 (assuming plain 'gpg' is modern) + + * avoid sending --pinentry-mode=loopback if gpg is invoked as gpg1 + * fix up t/list_secret_keys to account for the varied output + * t/decrypt.t still fails two agent-only tests, but presumably folks + who use gpg1 are not expecting to use the agent. +--- + lib/GnuPG/Interface.pm | 5 - + t/list_secret_keys.t | 9 + + 2 files changed, 9 insertions(+), 5 deletions(-) + +diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +index 5d8b0ec..f80ead5 100644 +--- a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +@@ -112,8 +112,11 @@ sub fork_attach_exec( $% ) { + # -- version 2.1.x or later. It's not clear to me how we can + # safely and efficiently avoid this assumption (see + # https://lists.gnupg.org/pipermail/gnupg-devel/2016-October/031800.html) ++# ++# as a (brittle and incomplete) cleanup, we will avoid trying to ++# send pinentry-loopback if the program is invoked as "gpg1" + $use_loopback_pinentry = 1 +- if ($handles->passphrase()); ++ if ($handles->passphrase() && ! ($self->call =~ m/gpg1$/)); + + # deprecation support + $args{commands} ||= $args{gnupg_commands}; +diff --git a/t/list_secret_keys.t b/t/list_secret_keys.t +index d1e3f30..8e3c911 100644 +--- a/t/list_secret_keys.t b/t/list_secret_keys.t +@@ -23,11 +23,12 @@ TEST + $outfile = 'test/secret-keys/1.out'; + my $out = IO::File->new( "> $outfile" ) + or die "cannot open $outfile for writing: $ERRNO"; +-my $modern_pubring_line = $gnupg->options->homedir() . "/pubring.kbx\n"; ++my $seckey_file = $gpg_is_modern ? 'pubring.kbx' : 'secring.gpg'; ++my $pubring_line = $gnupg->options->homedir() . '/' . $seckey_file . "\n"; + while (<$stdout>) { +- if ($gpg_is_modern && ($_ eq $modern_pubring_line)) { +-$out->print("test/gnupghome/pubring.kbx\n"); +- } elsif ($gpg_is_modern && /^--*$/) { ++ if ($_ eq $pubring_line) { ++$out->print('test/gnupghome/'.$seckey_file."\n"); ++ } elsif (/^--*$/) { + $out->print("--\n"); + } else { + $out->print( $_ ); diff --git a/debian/patches/series b/debian/patches/series index 3d9caf8..13d2f7e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -16,3 +16,4 @@ 0016-Test-use-of-gpg-without-explicit-passphrase-agent-pi.patch 0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch 0018-Use-a-short-temporary-homedir-during-the-test-suite.patch +0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 02/02: prepare debian release
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch experimental in repository libgnupg-interface-perl. commit 598c984db36adc30a37a95f7b6b73151099823a9 Author: Daniel Kahn Gillmor Date: Fri May 26 14:37:54 2017 -0400 prepare debian release --- debian/changelog | 6 ++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 80ca591..02c1637 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libgnupg-interface-perl (0.52-7) experimental; urgency=medium + + * Use temporary, short-path GNUPGHOME for test suites (Closes: #861591) + + -- Daniel Kahn Gillmor Fri, 26 May 2017 14:37:11 -0400 + libgnupg-interface-perl (0.52-6) experimental; urgency=medium * more tweaks to test suite and use of passphrase (enables in-band -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 01/02: Use temporary, short-path GNUPGHOME for test suites (Closes: #861591)
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch experimental in repository libgnupg-interface-perl. commit 1977297160208cb20edaf2339eee8eae0490271b Author: Daniel Kahn Gillmor Date: Fri May 26 14:36:13 2017 -0400 Use temporary, short-path GNUPGHOME for test suites (Closes: #861591) --- ...uPG-agent-before-and-after-the-test-suite.patch | 42 ...t-temporary-homedir-during-the-test-suite.patch | 110 + debian/patches/series | 2 + 3 files changed, 154 insertions(+) diff --git a/debian/patches/0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch b/debian/patches/0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch new file mode 100644 index 000..2f20f14 --- /dev/null +++ b/debian/patches/0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch @@ -0,0 +1,42 @@ +From: Daniel Kahn Gillmor +Date: Thu, 25 May 2017 16:07:45 -0400 +Subject: Kill any GnuPG agent before and after the test suite. + +This helps to ensure that the test suite daemon is started fresh at +every test suite run. And it also avoids leaving a daemon running +after the test suite, assuming the test suite manages to reach the +end. + +This is considered a reasonable practice by upstream. +--- + t/000_setup.t | 3 +++ + t/zzz_cleanup.t | 2 ++ + 2 files changed, 5 insertions(+) + +diff --git a/t/000_setup.t b/t/000_setup.t +index b183241..4dc4329 100644 +--- a/t/000_setup.t b/t/000_setup.t +@@ -17,6 +17,9 @@ TEST + $agentconf->write("pinentry-program " . getcwd() . "/test/fake-pinentry.pl\n"); + $agentconf->close(); + copy('test/gpg.conf', 'test/gnupghome/gpg.conf'); ++# reset the state of any long-lived gpg-agent, ignoring errors: ++system('gpgconf', '--homedir=test/gnupghome', '--quiet', '--kill', 'gpg-agent'); ++ + reset_handles(); + + my $pid = $gnupg->import_keys(command_args => [ 'test/public_keys.pgp', 'test/secret_keys.pgp', 'test/new_secret.pgp' ], +diff --git a/t/zzz_cleanup.t b/t/zzz_cleanup.t +index 5c03a72..eea3a48 100644 +--- a/t/zzz_cleanup.t b/t/zzz_cleanup.t +@@ -12,6 +12,8 @@ use File::Path qw (remove_tree); + TEST + { + my $err = []; ++# kill off any long-lived gpg-agent, ignoring errors: ++system('gpgconf', '--homedir=test/gnupghome', '--quiet', '--kill', 'gpg-agent'); + remove_tree('test/gnupghome', {error => \$err}); + return ! @$err; + }; diff --git a/debian/patches/0018-Use-a-short-temporary-homedir-during-the-test-suite.patch b/debian/patches/0018-Use-a-short-temporary-homedir-during-the-test-suite.patch new file mode 100644 index 000..457a5e7 --- /dev/null +++ b/debian/patches/0018-Use-a-short-temporary-homedir-during-the-test-suite.patch @@ -0,0 +1,110 @@ +From: Daniel Kahn Gillmor +Date: Fri, 26 May 2017 09:51:40 -0400 +Subject: Use a short temporary homedir during the test suite + +This avoids problems with the length of the path to the homedir as +compared to the size limits of sockaddr_un.sun_path, particularly on +systems where /run/user/$(id -u) is not present or available (such as +many minimalist build environments). +--- + t/000_setup.t| 9 + + t/MyTestSpecific.pm | 18 +- + t/list_secret_keys.t | 3 ++- + t/zzz_cleanup.t | 6 -- + 4 files changed, 28 insertions(+), 8 deletions(-) + +diff --git a/t/000_setup.t b/t/000_setup.t +index 4dc4329..82d7005 100644 +--- a/t/000_setup.t b/t/000_setup.t +@@ -12,13 +12,14 @@ use File::Copy; + + TEST + { +-make_path('test/gnupghome', { mode => 0700 }); +-my $agentconf = IO::File->new( "> test/gnupghome/gpg-agent.conf" ); ++my $homedir = $gnupg->options->homedir(); ++make_path($homedir, { mode => 0700 }); ++my $agentconf = IO::File->new( "> " . $homedir . "/gpg-agent.conf" ); + $agentconf->write("pinentry-program " . getcwd() . "/test/fake-pinentry.pl\n"); + $agentconf->close(); +-copy('test/gpg.conf', 'test/gnupghome/gpg.conf'); ++copy('test/gpg.conf', $homedir . '/gpg.conf'); + # reset the state of any long-lived gpg-agent, ignoring errors: +-system('gpgconf', '--homedir=test/gnupghome', '--quiet', '--kill', 'gpg-agent'); ++system('gpgconf', '--homedir', $homedir, '--quiet', '--kill', 'gpg-agent'); + + reset_handles(); + +diff --git a/t/MyTestSpecific.pm b/t/MyTestSpecific.pm +index e513c25..809d55c 100644 +--- a/t/MyTestSpecific.pm b/t/MyTestSpecific.pm +@@ -22,6 +22,7 @@ use IO::Seekable; + use File::Compare; + use Exp
[libgnupg-interface-perl] annotated tag debian/0.52-7 created (now 0717d6b)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to annotated tag debian/0.52-7 in repository libgnupg-interface-perl. at 0717d6b (tag) tagging 598c984db36adc30a37a95f7b6b73151099823a9 (commit) replaces debian/0.52-6 tagged by Daniel Kahn Gillmor on Fri May 26 14:38:38 2017 -0400 - Log - libgnupg-interface-perl Debian release 0.52-7 -BEGIN PGP SIGNATURE- iQJKBAABCgA0FiEEOCdgUepHf6PklTkyFJitxsGSMjcFAlkodi4WHGRrZ0BmaWZ0 aGhvcnNlbWFuLm5ldAAKCRAUmK3GwZIyN3WRD/4sACGLaJ6LbI5GjR6/SRSNgF/G Eif17yoN3zysDFiwTHLHaRdJ4OI1dSWiLZfOHVJwdjHuctY9hAnEwU8FZcjSapAD ohytHnR3AUFGP8rgfvv1iUR8g0ziLCyM3wekWvMdK6J8Rmqwvpc3NW4kAWh94E/0 +NBeD1Q2Fm7Yza6WaSHmInIMoZQRRAzrDd6YlFZO4YnUijNcKr4Vk3a3DV2pTMtM h510BOO4ytFRzs3Y/9LeQWaErTIFimt1Rh5AvXbUA3RUKxNPO5qXmoe8eel5TaT6 qMaRHQvi3qDrRnAdbDMBRxhc2AT5qJGWNcb2ooXmdoNi/y3tLxzcsHYJoCi5a2wx 5p7erIjMatouKRc/pH+Fd+tTMc9qT/83RjsQ6U90TzFmX4Y3v5dAKP/HNEbQZWOH lCuFJ+KvLJg+ySmmQn32+QHJtgiRqzbB2ECMZo6B83G5n2YFbMgFJiWB7LZ7xaWS KlnxyamcC83x8zDmvaclCbsm7GVVfvBzhLbSiRmwTvBdbFItXuXIiD3o26DRksnd OoxwdVAHmA0Wc6Y1WmPadLJcevABuGoAmpxnyNW4B2PL+gykkg4UKrEnmYSYuvr8 XdO47A9PsqPrus3eBomzqEuOoBDT9Ls4jiU37PK8cocPvH1heos0o6/9nPKAHOmN uKtXxfU4R2QSIBYpxw== =EhaR -END PGP SIGNATURE- Daniel Kahn Gillmor (2): Use temporary, short-path GNUPGHOME for test suites (Closes: #861591) prepare debian release --- This annotated tag includes the following new commits: new 1977297 Use temporary, short-path GNUPGHOME for test suites (Closes: #861591) new 598c984 prepare debian release The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 01/02: clean up test suite output
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch experimental in repository libgnupg-interface-perl. commit 6e5f54f741025b630d18308f50ce061595f0ef7e Author: Daniel Kahn Gillmor Date: Wed Nov 23 17:10:32 2016 -0500 clean up test suite output --- debian/clean | 7 +++ 1 file changed, 7 insertions(+) diff --git a/debian/clean b/debian/clean new file mode 100644 index 000..83e3e37 --- /dev/null +++ b/debian/clean @@ -0,0 +1,7 @@ +test/public-keys-sigs/1.out +test/public-keys-sigs/2.out +test/public-keys/1.out +test/public-keys/2.out +test/secret-keys/1.out +test/secret-keys/2.out +test/temp -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 02/02: prepare release to experimental
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch experimental in repository libgnupg-interface-perl. commit 2caa7ce882a23e50d5ad0fbcc2de3a42272e2b17 Author: Daniel Kahn Gillmor Date: Tue Oct 11 21:48:33 2016 -0400 prepare release to experimental --- debian/changelog | 11 +++ debian/control | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2603580..80ca591 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +libgnupg-interface-perl (0.52-6) experimental; urgency=medium + + * more tweaks to test suite and use of passphrase (enables in-band +passphrases to work again, not just via fake-pinentry.pl) +See https://rt.cpan.org/Ticket/Display.html?id=102651 and +https://github.com/bestpractical/gnupg-interface/pull/1 + * force dependency on gnupg package to version 2.1 or later due to use +of pinentry-mode=loopback. + + -- Daniel Kahn Gillmor Wed, 23 Nov 2016 13:58:40 -0500 + libgnupg-interface-perl (0.52-5) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index e870f26..ae227b2 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9) -Build-Depends-Indep: gnupg | gnupg2, +Build-Depends-Indep: gnupg (>= 2.1), libmoo-perl, libmoox-handlesvia-perl, libmoox-late-perl, -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] annotated tag debian/0.52-6 created (now 5ee138d)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to annotated tag debian/0.52-6 in repository libgnupg-interface-perl. at 5ee138d (tag) tagging 2caa7ce882a23e50d5ad0fbcc2de3a42272e2b17 (commit) replaces debian/0.52-5 tagged by Daniel Kahn Gillmor on Wed Nov 23 17:12:10 2016 -0500 - Log - libgnupg-interface-perl Debian release 0.52-6 -BEGIN PGP SIGNATURE- iQKqBAABCgCUFiEE7bLnT1b88rZyl7c1JOz/Wv9oNwoFAlg2FDpfFIAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVE QjJFNzRGNTZGQ0YyQjY3Mjk3QjczNTI0RUNGRjVBRkY2ODM3MEEWHGRrZ0BmaWZ0 aGhvcnNlbWFuLm5ldAAKCRAk7P9a/2g3CmjnEACYurC4ubbOuK66SnVsZPCz9gFi U0XrcVeZMU+Jg+tnf/b2BnS6/M4YBTggUYA3gqZ0r7kEnHINXBnAY5CpzJgiic6f RLGhtBrWcNmc1thnOmB80bNlVBl7OGiSaIfCWdR8lXv+uPP0Ae8DBZEIapSvwNBi hzYo01qoPkWGnytkSxH0VoQEoJ1EWyV3QiPrLvNv3+Bl5GyyoToiLuZxCf+VvsVe eZsQmKvSjdi6JdrycTn4blHBGuOKv7t07YPV9rJAyIkmNSJshn/urqnO8m26NU3B y7+Ez7FojjzTEI3f247uhY27rglnHgTT75RmttD7f1uRhnPU0LF7+lPuK35e8iKX q9nR2YvrYuSDLRGMtCGYBnF+HIRI/uUVoq6ygyYxUoA1BYHTmahQ8C1RcqP+6cWx gxAIsPrV70oIDiar7uynpitbCHZ9zLHYbXap1mstRirJTHw220+PyoxL/em2s7fU 5gfZpf+1g+KxMlrZGAnEFzVS3GHcchOy4s6wtP0Eg7XfqlqbmwiPeEHY1GZAEnZn kU9ihNm6JMUi0PGXObYykLAsGAXCagcnVpctYOX5e1dfM/TgT0UYRX8I9SORqt+7 FJ7VX/SNxK0r2i1ZYHLJxZk+aQNQHpBOHDXshDQn87oPhDTfD12H9jts2fECEJVb 7CYljdSXQbo+iByh4Q== =2YJk -END PGP SIGNATURE- Daniel Kahn Gillmor (3): enable use of in-band passwords as well as agent clean up test suite output prepare release to experimental --- This annotated tag includes the following new commits: new 6e5f54f clean up test suite output new 2caa7ce prepare release to experimental The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] branch experimental created (now 2caa7ce)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to branch experimental in repository libgnupg-interface-perl. at 2caa7ce prepare release to experimental This branch includes the following new commits: new 6e5f54f clean up test suite output new 2caa7ce prepare release to experimental The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] branch move-to-modern-gnupg created (now 885a66b)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to branch move-to-modern-gnupg in repository libgnupg-interface-perl. at 885a66b prepare release to experimental This branch includes the following new commits: new 816a17a enable use of in-band passwords as well as agent new 885a66b prepare release to experimental The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 01/02: enable use of in-band passwords as well as agent
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch move-to-modern-gnupg in repository libgnupg-interface-perl. commit 816a17af4cfd749e83dbcbbef343fb6054c06c8c Author: Daniel Kahn Gillmor Date: Tue Oct 11 21:46:56 2016 -0400 enable use of in-band passwords as well as agent --- .../0009-clean-up-trailing-whitespace.patch| 112 .../patches/0010-fix-capitalization-of-GnuPG.patch | 35 +++ .../0011-ommand_args-should-be-command_args.patch | 21 ++ ...rints-as-inputs-during-tests-to-demonstra.patch | 265 ++ .../0013-move-key-files-to-generic-names.patch | 33 +++ ...0014-fix-spelling-s-convience-convenience.patch | 53 ...-new-secret-key-with-different-passphrase.patch | 117 ...-gpg-without-explicit-passphrase-agent-pi.patch | 302 + debian/patches/series | 8 + 9 files changed, 946 insertions(+) diff --git a/debian/patches/0009-clean-up-trailing-whitespace.patch b/debian/patches/0009-clean-up-trailing-whitespace.patch new file mode 100644 index 000..f408c65 --- /dev/null +++ b/debian/patches/0009-clean-up-trailing-whitespace.patch @@ -0,0 +1,112 @@ +From: Daniel Kahn Gillmor +Date: Tue, 11 Oct 2016 19:52:13 -0400 +Subject: clean up trailing whitespace + +--- + lib/GnuPG/Fingerprint.pm | 2 +- + lib/GnuPG/Handles.pm | 2 +- + lib/GnuPG/Interface.pm | 16 + 3 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/lib/GnuPG/Fingerprint.pm b/lib/GnuPG/Fingerprint.pm +index fcb1028..81c38a7 100644 +--- a/lib/GnuPG/Fingerprint.pm b/lib/GnuPG/Fingerprint.pm +@@ -20,7 +20,7 @@ with qw(GnuPG::HashInit); + + has as_hex_string => ( + isa => 'Any', +-is => 'rw', ++is => 'rw', + ); + + sub compare { +diff --git a/lib/GnuPG/Handles.pm b/lib/GnuPG/Handles.pm +index b30ca57..3eee0e3 100644 +--- a/lib/GnuPG/Handles.pm b/lib/GnuPG/Handles.pm +@@ -73,7 +73,7 @@ GnuPG::Handles - GnuPG handles bundle + = ( IO::Handle->new(), IO::Handle->new(), IO::Handle->new(), + IO::Handle->new(), IO::Handle->new(), IO::Handle->new(), + ); +- ++ + my $handles = GnuPG::Handles->new + ( stdin => $stdin, + stdout => $stdout, +diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +index 1f1e6d5..19e8070 100644 +--- a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +@@ -833,7 +833,7 @@ GnuPG::Interface - Perl interface to GnuPG + # A simple example + use IO::Handle; + use GnuPG::Interface; +- ++ + # setting up the situation + my $gnupg = GnuPG::Interface->new(); + $gnupg->options->hash_init( armor => 1, +@@ -852,7 +852,7 @@ GnuPG::Interface - Perl interface to GnuPG + # Now we'll go about encrypting with the options already set + my @plaintext = ( 'foobar' ); + my $pid = $gnupg->encrypt( handles => $handles ); +- ++ + # Now we write to the input of GnuPG + print $input @plaintext; + close $input; +@@ -1144,7 +1144,7 @@ The following setup can be done before any of the following examples: + + my $handles = GnuPG::Handles->new( stdin=> $input, + stdout => $output ); +- ++ + # this sets up the communication + # Note that the recipients were specified earlier + # in the 'options' data member of the $gnupg object. +@@ -1220,7 +1220,7 @@ The following setup can be done before any of the following examples: + # a file written to disk + # Make sure you "use IO::File" if you use this module! + my $cipher_file = IO::File->new( 'encrypted.gpg' ); +- ++ + # this sets up the communication + my $pid = $gnupg->decrypt( handles => $handles ); + +@@ -1252,7 +1252,7 @@ The following setup can be done before any of the following examples: + # This time we'll just let GnuPG print to our own output + # and read from our input, because no input is needed! + my $handles = GnuPG::Handles->new(); +- ++ + my @ids = ( 'ftobin', '0xABCD1234' ); + + # this time we need to specify something for +@@ -1260,7 +1260,7 @@ The following setup can be done before any of the following examples: + # search ids as arguments + my $pid = $gnupg->list_public_keys( handles => $handles, + command_args => [ @ids ] ); +- ++ +waitpid $pid, 0; + + =head2 Creating GnuPG::PublicKey Objects +@@ -1280,7 +1280,7 @@ The following setup can be done before any of the following examples: + command_args => [ qw( test/key.1.asc ) ], + handles => $handles, + ); +- ++ + my @out = <$handles->stdout()>; + waitpid $pid, 0; + +@@ -1357,7 +1357,7 @@ under the same terms as Perl itself. + + =head1 AUTHOR + +-GnuPg::Interface is c
[libgnupg-interface-perl] 02/02: prepare release to experimental
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch move-to-modern-gnupg in repository libgnupg-interface-perl. commit 885a66b2b1d54b9ed9d90428ac43fedfb529c241 Author: Daniel Kahn Gillmor Date: Tue Oct 11 21:48:33 2016 -0400 prepare release to experimental --- debian/changelog | 9 + debian/control | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2603580..c4e6920 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +libgnupg-interface-perl (0.52-6) experimental; urgency=medium + + * more tweaks to test suite and use of passphrase (enables in-band +passphrases to work again, not just via fake-pinentry.pl) + * force dependency on gnupg package to version 2.1 or later due to use +of pinentry-mode=loopback. + + -- Daniel Kahn Gillmor Tue, 11 Oct 2016 21:47:54 -0400 + libgnupg-interface-perl (0.52-5) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index e870f26..ae227b2 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9) -Build-Depends-Indep: gnupg | gnupg2, +Build-Depends-Indep: gnupg (>= 2.1), libmoo-perl, libmoox-handlesvia-perl, libmoox-late-perl, -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] annotated tag debian/0.52-4 created (now d8dbab5)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to annotated tag debian/0.52-4 in repository libgnupg-interface-perl. at d8dbab5 (tag) tagging 433c6db6d9c2a1f16bda4a0b3955b4dab27b405a (commit) replaces debian/0.52-3 tagged by Daniel Kahn Gillmor on Wed Sep 14 16:17:00 2016 -0400 - Log - libgnupg-interface-perl Debian release 0.52-4 -BEGIN PGP SIGNATURE- iQKTBAABCgB9BQJX2bA8XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy NEVDRkY1QUZGNjgzNzBBFhxka2dAZmlmdGhob3JzZW1hbi5uZXQACgkQJOz/Wv9o NwqMaw//U19bZDDAPKMcaq61570GaI9PVzyi4QC51kNR9QBXpRTDv0jkwxiKeexQ 3SiTVgPy9l6WPh/sKKlBUQmUQZIJFT5vzNwvWEbgM4j7KzJoAl+FlsQ745rU6OHr 7nZ9+BjLvJw7MS9+r+wAtaELu6Gn6tyg2cZPx9d7bhw8ytUZkTGtsslbJ/Gj7+By hGDPs0yBawSf5rn5WFFoRLu4ikUbFhcM3aZE/n0zEm73sO7egu3SjgmwbKu4NJ7y y2PPOO15CUrsUXF5Y/TXOLduIUTdvtrPT1OqPYYwaGcUQj4TSN04Izi0nGV4giw+ u8G+vZCw3bY5Rk4UgTZuDgCAL5DXoxwmhwWPqIx+xHWzxhK29Lh8BJ/2DlbKuQYm GnXj8t94f9EFjlY70ZZWK/VkAlW+tn2cBh5A+lQ7yd5nDYfMEu+/EO19n7qZRLOt 2pQ91vh2wedky7tPqqzLJbWvffIivo33sXsPzt1MR+hiXaXahac5t7UiRvOkNJzZ CdlUN7TqW1lKTANnBdnFknHzjKLu6OKm7J30I/JBYqGTer+myMObim+DZfnUZhv0 BHVFFc5sQsvQdAN3Imdn9jDn6uQBQiGbjvq/ah2I2XpYTpUW4zcl5SWeB6QwVzur /nSsdv9Jd2aU7SLnh4vfbyd9wzuzBiX8t5NGg3z8FwieAomj5X4= =Fhfd -END PGP SIGNATURE- Daniel Kahn Gillmor (7): move to debhelper 9 bumped Standards-Version to 3.9.8 (no changes needed) remove switch to gpg1 Revert "Update build and runtime dependency to pull in gnupg1: this is the only well supported version at the moment." fix test suite so that it works with GnuPG 2.1 as well added myself to Uploaders libgnupg-interface-perl (0.52-4) --- No new revisions were added by this update. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 02/07: bumped Standards-Version to 3.9.8 (no changes needed)
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 77069949389adba81f421050b7fdf75667b9341e Author: Daniel Kahn Gillmor Date: Tue Sep 13 07:22:21 2016 +0200 bumped Standards-Version to 3.9.8 (no changes needed) --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 3865845..48b68cc 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ Build-Depends-Indep: gnupg1, libmoox-handlesvia-perl, libmoox-late-perl, perl -Standards-Version: 3.9.6 +Standards-Version: 3.9.8 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libgnupg-interface-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git Homepage: https://metacpan.org/release/GnuPG-Interface -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] branch master updated (d646bb7 -> 433c6db)
This is an automated email from the git hooks/post-receive script. dkg pushed a change to branch master in repository libgnupg-interface-perl. from d646bb7 libgnupg-interface-perl (0.52-3) new 0a38679 move to debhelper 9 new 7706994 bumped Standards-Version to 3.9.8 (no changes needed) new 5f8bc0d remove switch to gpg1 new 5607af3 Revert "Update build and runtime dependency to pull in gnupg1: this is the only well supported version at the moment." new ba54681 fix test suite so that it works with GnuPG 2.1 as well new 346afca added myself to Uploaders new 433c6db libgnupg-interface-perl (0.52-4) The 7 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 10 ++ debian/compat | 2 +- debian/control | 11 +- ...spelling-error-settting-should-be-setting.patch | 35 + .../patches/0002-Generalize-the-test-suite.patch | 151 + ...dity-of-an-key-when-we-have-established-n.patch | 37 + ...04-ensure-that-test-covers-all-signatures.patch | 35 + .../0005-add-gpg_is_modern-to-test-suite.patch | 39 ++ ...G-2.1-reports-more-detail-about-secret-ke.patch | 120 ...match-plaintext-output-across-versions-of.patch | 95 + ...fault_key_passphrase-when-passphrase-come.patch | 29 .../Use-GnuPG-1.x-by-default.-Closes-834281.patch | 114 debian/patches/series | 9 +- debian/rules | 2 + 14 files changed, 568 insertions(+), 121 deletions(-) create mode 100644 debian/patches/0001-fix-spelling-error-settting-should-be-setting.patch create mode 100644 debian/patches/0002-Generalize-the-test-suite.patch create mode 100644 debian/patches/0003-subkey-validity-of-an-key-when-we-have-established-n.patch create mode 100644 debian/patches/0004-ensure-that-test-covers-all-signatures.patch create mode 100644 debian/patches/0005-add-gpg_is_modern-to-test-suite.patch create mode 100644 debian/patches/0006-Modern-GnuPG-2.1-reports-more-detail-about-secret-ke.patch create mode 100644 debian/patches/0007-test-suite-match-plaintext-output-across-versions-of.patch create mode 100644 debian/patches/0008-fix-test_default_key_passphrase-when-passphrase-come.patch delete mode 100644 debian/patches/Use-GnuPG-1.x-by-default.-Closes-834281.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 03/07: remove switch to gpg1
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 5f8bc0d5beb6e5913f2ab4671f04ffd66ef6cad3 Author: Daniel Kahn Gillmor Date: Wed Sep 14 13:30:23 2016 -0400 remove switch to gpg1 --- .../Use-GnuPG-1.x-by-default.-Closes-834281.patch | 114 - debian/patches/series | 1 - 2 files changed, 115 deletions(-) diff --git a/debian/patches/Use-GnuPG-1.x-by-default.-Closes-834281.patch b/debian/patches/Use-GnuPG-1.x-by-default.-Closes-834281.patch deleted file mode 100644 index 6fd519f..000 --- a/debian/patches/Use-GnuPG-1.x-by-default.-Closes-834281.patch +++ /dev/null @@ -1,114 +0,0 @@ -From: intrigeri -Date: Thu, 25 Aug 2016 08:20:00 + -Subject: Use GnuPG 1.x by default. (Closes: #834281) - -We can drop this patch once upstream supports GnuPG 2.x properly. - Makefile.PL| 12 ++-- - lib/GnuPG/Interface.pm | 12 ++-- - lib/GnuPG/Signature.pm | 2 +- - t/Interface.t | 2 +- - 4 files changed, 14 insertions(+), 14 deletions(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 38aca27..57d29a5 100644 a/Makefile.PL -+++ b/Makefile.PL -@@ -2,14 +2,14 @@ use strict; - use warnings; - use inc::Module::Install; - --print "which gpg ... "; --system("which", "gpg"); --die "gpg (GnuPG) not found" if ( $? != 0 ); -+print "which gpg1 ... "; -+system("which", "gpg1"); -+die "gpg1 (GnuPG) not found" if ( $? != 0 ); - --my $output = `gpg --version`; --die "Can't determine gpg version" -+my $output = `gpg1 --version`; -+die "Can't determine gpg1 version" - unless $output =~ /^gpg \(GnuPG.*?\) (\d+\.\d+)/; --die "gpg (GnuPG) 1.4 or later is required" unless $1 >= 1.4; -+die "gpg1 (GnuPG) 1.4 or later is required" unless $1 >= 1.4; - - - author 'Frank J. Tobin'; -diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm -index f952f3e..5af2530 100644 a/lib/GnuPG/Interface.pm -+++ b/lib/GnuPG/Interface.pm -@@ -50,7 +50,7 @@ sub gnupg_call { shift->call(@_); } - sub BUILD { - my ( $self, $args ) = @_; - --$self->hash_init( call => 'gpg' ); -+$self->hash_init( call => 'gpg1' ); - $self->hash_init(%$args); - } - -@@ -959,7 +959,7 @@ initialization of data members. - =item search_keys( % ) - - These methods each correspond directly to or are very similar --to a GnuPG command described in L. Each of these methods -+to a GnuPG command described in L. Each of these methods - takes a hash, which currently must contain a key of B - which has the value of a GnuPG::Handles object. - Another optional key is B which should have the value of an -@@ -967,7 +967,7 @@ array reference; these arguments will be passed to GnuPG as command arguments. - These command arguments are used for such things as determining the keys to - list in the B method. I. To understand what are options and --what are command arguments please read L and L. -+what are command arguments please read L and L. - - Each of these calls returns the PID for the resulting GnuPG process. - One can use this PID in a C call instead of a C call -@@ -1096,8 +1096,8 @@ keys to list in a key-listing. - - =item call - --This defines the call made to invoke GnuPG. Defaults to 'gpg'; this --should be changed if 'gpg' is not in your path, or there is a different -+This defines the call made to invoke GnuPG. Defaults to 'gpg1'; this -+should be changed if 'gpg1' is not in your path, or there is a different - name for the binary on your system. - - =item passphrase -@@ -1347,7 +1347,7 @@ L, - L, - L, - L, --L, -+L, - L - - =head1 LICENSE -diff --git a/lib/GnuPG/Signature.pm b/lib/GnuPG/Signature.pm -index 5020bb7..1abaca9 100644 a/lib/GnuPG/Signature.pm -+++ b/lib/GnuPG/Signature.pm -@@ -114,7 +114,7 @@ uses at least the following characters: "!" means valid, "-" means not - valid, "?" means unknown (e.g. if the supposed signing key is not - present in the local keyring), and "%" means an error occurred (e.g. a - non-supported algorithm). See the documentation for --check-sigs in --gpg(1). -+gpg1(1). - - =item algo_num - -diff --git a/t/Interface.t b/t/Interface.t -index 6d97956..a74c0bd 100644 a/t/Interface.t -+++ b/t/Interface.t -@@ -10,7 +10,7 @@ use MyTest; - - use GnuPG::Interface; - --my $v1 = 'gpg'; -+my $v1 = 'gpg1'; - my $v2 = 'gnupg'; - - my $gnupg = GnuPG::Interface->new( call => $v1 ); diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 7654c86..000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -Use-GnuPG-1.x-by-default.-Closes-834281.patch -- Alioth'
[libgnupg-interface-perl] 04/07: Revert "Update build and runtime dependency to pull in gnupg1: this is the only well supported version at the moment."
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 5607af376d4033883daf975ee665017e9b8fbd71 Author: Daniel Kahn Gillmor Date: Wed Sep 14 13:31:08 2016 -0400 Revert "Update build and runtime dependency to pull in gnupg1: this is the only well supported version at the moment." This reverts commit c46e0142db8a08ec7db2ac571acec28b4c1c3b34. --- debian/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 48b68cc..77ea8ad 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9) -Build-Depends-Indep: gnupg1, +Build-Depends-Indep: gnupg | gnupg2, libmoo-perl, libmoox-handlesvia-perl, libmoox-late-perl, @@ -21,7 +21,7 @@ Package: libgnupg-interface-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, - gnupg1, + gnupg | gnupg2, libmoo-perl, libmoox-handlesvia-perl, libmoox-late-perl -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 06/07: added myself to Uploaders
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 346afcaf62e9a06be65ff28936785bc93852e8e4 Author: Daniel Kahn Gillmor Date: Wed Sep 14 14:44:00 2016 -0400 added myself to Uploaders --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 77ea8ad..e870f26 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: libgnupg-interface-perl Maintainer: Debian Perl Group Uploaders: Damyan Ivanov , intrigeri , - Salvatore Bonaccorso + Salvatore Bonaccorso , + Daniel Kahn Gillmor , Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 01/07: move to debhelper 9
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 0a386799ca338565e49fe1d639d93b061be67f02 Author: Daniel Kahn Gillmor Date: Tue Sep 13 07:21:32 2016 +0200 move to debhelper 9 --- debian/compat | 2 +- debian/control | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/compat b/debian/compat index 45a4fb7..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -8 +9 diff --git a/debian/control b/debian/control index 45321a9..3865845 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Uploaders: Damyan Ivanov , Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 9) Build-Depends-Indep: gnupg1, libmoo-perl, libmoox-handlesvia-perl, -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 07/07: libgnupg-interface-perl (0.52-4)
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit 433c6db6d9c2a1f16bda4a0b3955b4dab27b405a Author: Daniel Kahn Gillmor Date: Wed Sep 14 14:45:08 2016 -0400 libgnupg-interface-perl (0.52-4) --- debian/changelog | 10 ++ 1 file changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index ac267d9..664b29b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +libgnupg-interface-perl (0.52-4) unstable; urgency=medium + + * move to debhelper 9 + * bumped Standards-Version to 3.9.8 (no changes needed) + * remove switch to gpg1 (Closes: #835770) + * fix test suite so that it works with GnuPG 2.1 as well + * added myself to Uploaders + + -- Daniel Kahn Gillmor Wed, 14 Sep 2016 14:44:07 -0400 + libgnupg-interface-perl (0.52-3) unstable; urgency=medium [ gregor herrmann ] -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-interface-perl.git ___ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
[libgnupg-interface-perl] 05/07: fix test suite so that it works with GnuPG 2.1 as well
This is an automated email from the git hooks/post-receive script. dkg pushed a commit to branch master in repository libgnupg-interface-perl. commit ba546813a38d118f70e4e8a6717138eca3aeef5c Author: Daniel Kahn Gillmor Date: Wed Sep 14 13:51:16 2016 -0400 fix test suite so that it works with GnuPG 2.1 as well GnuPG 2.1 keeps most of the programmatic interface the same, but radically changes the directory structure and expectations about running processes. I've sent these patches all upstream at https://rt.cpan.org/Ticket/Display.html?id=102651 --- ...spelling-error-settting-should-be-setting.patch | 35 + .../patches/0002-Generalize-the-test-suite.patch | 151 + ...dity-of-an-key-when-we-have-established-n.patch | 37 + ...04-ensure-that-test-covers-all-signatures.patch | 35 + .../0005-add-gpg_is_modern-to-test-suite.patch | 39 ++ ...G-2.1-reports-more-detail-about-secret-ke.patch | 120 ...match-plaintext-output-across-versions-of.patch | 95 + ...fault_key_passphrase-when-passphrase-come.patch | 29 debian/patches/series | 8 ++ debian/rules | 2 + 10 files changed, 551 insertions(+) diff --git a/debian/patches/0001-fix-spelling-error-settting-should-be-setting.patch b/debian/patches/0001-fix-spelling-error-settting-should-be-setting.patch new file mode 100644 index 000..fcec610 --- /dev/null +++ b/debian/patches/0001-fix-spelling-error-settting-should-be-setting.patch @@ -0,0 +1,35 @@ +From: Daniel Kahn Gillmor +Date: Tue, 13 Sep 2016 07:26:00 +0200 +Subject: fix spelling error ("settting" should be "setting") + +--- + README | 2 +- + lib/GnuPG/Interface.pm | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/README b/README +index fcb982a..f457577 100644 +--- a/README b/README +@@ -6,7 +6,7 @@ SYNOPSIS + use IO::Handle; + use GnuPG::Interface; + +- # settting up the situation ++ # setting up the situation + my $gnupg = GnuPG::Interface->new(); + $gnupg->options->hash_init( armor => 1, + homedir => '/home/foobar' ); +diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +index f952f3e..83a4b1a 100644 +--- a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm +@@ -834,7 +834,7 @@ GnuPG::Interface - Perl interface to GnuPG + use IO::Handle; + use GnuPG::Interface; + +- # settting up the situation ++ # setting up the situation + my $gnupg = GnuPG::Interface->new(); + $gnupg->options->hash_init( armor => 1, + homedir => '/home/foobar' ); diff --git a/debian/patches/0002-Generalize-the-test-suite.patch b/debian/patches/0002-Generalize-the-test-suite.patch new file mode 100644 index 000..d0d3e6c --- /dev/null +++ b/debian/patches/0002-Generalize-the-test-suite.patch @@ -0,0 +1,151 @@ +From: Daniel Kahn Gillmor +Date: Tue, 13 Sep 2016 10:38:12 -0400 +Subject: Generalize the test suite + +The test suite currently assumes it knows something about the internal +state of GnuPG's homedir. + +It's safer and less brittle to rely explicitly on the public interface +that GnuPG has committed to, such as --import-keys and --list-keys, +rather than assuming that certain files are in certain places in the +GnuPG homedir. + +It's also better to create a fresh homedir and allow GnuPG to populate +it during the test suite, cleaning it up at the end, rather than hope +that GnuPG will leave a pre-existing homedir untouched. + +With this change, many more of the tests pass when /usr/bin/gpg is +provided by GnuPG 2.1. +--- + t/000_setup.t | 28 + t/MyTestSpecific.pm| 2 +- + t/zzz_cleanup.t| 17 + + test/fake-pinentry.pl | 28 + test/{options => gpg.conf} | 0 + test/secret-keys/1.0.test | 4 ++-- + 6 files changed, 76 insertions(+), 3 deletions(-) + create mode 100644 t/000_setup.t + create mode 100644 t/zzz_cleanup.t + create mode 100755 test/fake-pinentry.pl + rename test/{options => gpg.conf} (100%) + +diff --git a/t/000_setup.t b/t/000_setup.t +new file mode 100644 +index 000..7f7f7b0 +--- /dev/null b/t/000_setup.t +@@ -0,0 +1,28 @@ ++#!/usr/bin/perl -w ++ ++use strict; ++use English qw( -no_match_vars ); ++ ++use lib './t'; ++use MyTest; ++use MyTestSpecific; ++use Cwd; ++use File::Path qw (make_path); ++use File::Copy; ++ ++TEST ++{ ++make_path('test/gnupghome', { mode => 0700 }); ++my $agentconf = IO::File->new( "> test/gnupghome/gpg-agent.conf" ); ++$agentconf->write("pinentry-program " . getcwd() . "/test/fake-pinentry.pl\n"); ++$agentconf->close(); ++copy(