[pkg-horde] Bug#854819: GnuPG support broken in Horde / Debian 9
Salvatore Bonaccorso
carnil at debian.org
Wed Apr 5 12:36:53 UTC 2017
Hi
On Fri, Feb 10, 2017 at 05:35:58PM +0000, Mike Gabriel wrote:
> Package: php-horde-crypt
> Version: 2.7.5-1
> Severity: important
> Control: tag -1 patch
> Control: forwarded -1 https://bugs.horde.org/ticket/14014
>
> Just upgraded my Horde Instance to Debian 9 and realized that GnuPG support
> is broken. The below patch fixes things here:
>
> ```
> Index: Horde/Crypt/Pgp/Backend/Binary.php
> ===================================================================
> --- Horde.orig/Crypt/Pgp/Backend/Binary.php 2017-02-10 18:29:32.322658432
> +0100
> +++ Horde/Crypt/Pgp/Backend/Binary.php 2017-02-10 18:27:56.686190299 +0100
> @@ -77,6 +77,11 @@
> '--yes',
> '--homedir ' . $this->_tempdir
> );
> + $result = $this->_callGpg(array('--version'), 'r', null, false,
> false, true);
> + /* gpg > 1.x requires specifying the pinentry-mode */
> + if (!preg_match('/gpg \(GnuPG\) = (1\.[0-9\.]+)/', $result->stdout,
> $m)) {
> + $this->_gnupg[] = '--pinentry-mode loopback';
> + }
> }
>
> ```
>
> However, in https://bugs.horde.org/ticket/14548, there was the above patch
> (I just picked the non-unit-testing part from it) and with that patch I can
> use GnuPG with Horde 5 and gpg2 again.
Asekd on IRC:
[14:26] * carnil wonders if #854819 should be RC
[14:26] -zwiebelbot:#debian-release- Debian#854819: GnuPG support broken in Horde / Debian 9 - https://bugs.debian.org/854819
[14:26] < carnil> but I cannot verify if the package is completely non-functional
[14:31] < nthykier> carnil: if the patch works, then I am fine with accepting it
(where I was wrong with the RC part, but the comment from nthykier still holds).
Regards,
Salvatore
More information about the pkg-horde-hackers
mailing list