Your message dated Sat, 27 May 2017 22:42:33 +0200
with message-id 
<CAFX5sby=8y+obgjvsbdfgmb72riumtuoxyoqda4jxkhyusa...@mail.gmail.com>
and subject line Done in php-horde-crypt 2.7.8-1
has caused the Debian Bug report #854819,
regarding GnuPG support broken in Horde / Debian 9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
854819: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854819
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

Greets,
Mike


--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgp5oXv5LJKzD.pgp
Description: Digitale PGP-Signatur


--- End Message ---
--- Begin Message ---
Version: 2.7.8-1

Unfortunately I forgot to put this in the changelog:

php-horde-crypt (2.7.8-1) unstable; urgency=medium

  * New upstream version 2.7.8
    - with GnuPG 2 support (incomplete)
    - Remove 0001-Escape-user-provided-recipients-and-charset-data.patch, merged
  * Add gnupg as a test dependency (Closes: #849151)
  * Fix GnuPG 2 support (from https://github.com/horde/horde/pull/221)

 -- Mathieu Parent <sath...@debian.org>  Sat, 27 May 2017 22:14:43 +0200

Regards

-- 
Mathieu Parent

--- End Message ---

Reply via email to