From imp Sun Mar 28 08:08:07 2004 From: "W. Tasin" Date: Sun, 28 Mar 2004 08:08:07 +0000 To: imp Subject: [imp] [CVS version] pgp-view patch Message-Id: <406687E7.1080901 () fhm ! edu> X-MARC-Message: https://marc.info/?l=imp&m=108046211709170 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------040502000000000807090702" This is a multi-part message in MIME format. --------------040502000000000807090702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------040502000000000807090702 Content-Type: text/plain; name="pgp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pgp.patch" --- /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) { --------------040502000000000807090702 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscribe@lists.horde.org --------------040502000000000807090702--