Aleksander Machniak
2015-03-31 04598bdfb11198c6bd3d1d70616341815c346b45
plugins/enigma/lib/enigma_engine.php
@@ -585,6 +585,11 @@
            $part->body_modified = true;
            $part->encrypted     = true;
            // PGP signed inside? verify signature
            if (preg_match('/^-----BEGIN PGP SIGNED MESSAGE-----/', $body)) {
                $this->parse_plain_signed($p, $body);
            }
            // Encrypted plain message may contain encrypted attachments
            // in such case attachments have .pgp extension and application/octet-stream.
            // This is what happens when you select "Encrypt each attachment separately