[imp] [CVS version] pgp-view patch

W. Tasin tasin at fhm.edu
Sun Mar 28 00:08:07 PST 2004


Hi all,

the pgp status messages doesn't work correctly on some encrypted and
signed mails.
The status shows only that the message was only signed, but this isn't true.

Here is the patch that works for me, hope that's the correct way to
handle it.
Ciao

Walter

-------------- next part --------------
--- /home/tasin/horde/CVS-HORDE/horde/imp/lib/MIME/Viewer/pgp.php	Tue Feb  3 17:52:33 2004
+++ imp/lib/MIME/Viewer/pgp.php	Sun Mar 28 08:48:34 2004
@@ -202,6 +202,11 @@
         $text = '';
 
         $this->_initStatus($this->getIcon($mimetype), _("PGP"));
+
+        if ($signenc) {
+           $this->_status[] = _("This message has been encrypted with PGP.");
+        }
+        
         $this->_status[] = _("This message has been digitally signed via PGP.");
 
         if (!$active) {




More information about the imp mailing list