6.0.0-beta1
7/9/25

[#13862] PGP encrypted msg not detected
Summary PGP encrypted msg not detected
Queue IMP
Queue Version 6.2.7
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester inquisitor (at) goldmail (dot) de
Created 02/14/2015 (3798 days ago)
Due
Updated 02/17/2015 (3795 days ago)
Assigned
Resolved 02/17/2015 (3795 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/17/2015 04:44:02 AM Michael Slusarz Comment #5
State ⇒ Not A Bug
Reply to this comment
So it seems that the issue occurs only if PGP strings are inside a 
html (!) mail.
Yes, because that is not PGP data in the HTML part.  Armored PGP data 
must be in text/plain.

See, e.g., http://sourceforge.net/p/enigmail/bugs/218/
02/16/2015 04:49:55 PM inquisitor (at) goldmail (dot) de Comment #4
New Attachment: ss06.PNG Download
Reply to this comment
Update.
I disabled the html inline option:
$mime_drivers = array(

     'html' => array(
         /* NOTE: Inline HTML display is turned OFF by default. */
         'inline' => false,
...

and set again
  'pgp_inline' => true

Now the msg is detected as pgp msg and the decrypt button is shown. 
Even when clicking msg "parts" horde is able to detect more parts now 
(see ss).
So it seems that the issue occurs only if PGP strings are inside a 
html (!) mail.

02/14/2015 01:06:44 PM inquisitor (at) goldmail (dot) de Comment #3
New Attachment: sample_mail.txt Download
Reply to this comment
attached sample mail

Horde Webmail Version: 5.2.4
IMP: 6.2.7
02/14/2015 01:05:33 PM inquisitor (at) goldmail (dot) de Comment #2
New Attachment: ss-text-empty.PNG Download
Reply to this comment
attached ss
02/14/2015 01:04:32 PM inquisitor (at) goldmail (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ PGP encrypted msg not detected
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When receiving a PGP encrypted msg in html part, it is not detected as 
encrypted and no decrypt button is shown.
I read about enabling the "inline_pgp" option in mime_drivers.conf and 
changed my settings as shown here:

$mime_drivers = array(
     /* Plain text viewer. */
     'plain' => array(
         'inline' => true,
         'handles' => array(
             'application/pgp',
             'text/plain',
             'text/rfc822-headers'
         ),

         'limit_inline_size' => 1048576,

         'uudecode' => false

                /* bei nur text mails in body nach pgp string suchen */
                pgp_inline' => true
   [...]

The mail is not detected as pgp as well :(
Now I noticed something else: when trying to show only the text part 
from the mail, it only shows a blank window (see attached ss). Without 
the option, the text part is shown.

How can I make horde detect PGP mails within text or html part?
Thanks!

Saved Queries