Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enigma: encrypted + signed message is displayed blank #4950

Closed
rcubetrac opened this issue Jan 5, 2016 · 20 comments
Closed

Enigma: encrypted + signed message is displayed blank #4950

rcubetrac opened this issue Jan 5, 2016 · 20 comments
Assignees
Milestone

Comments

@rcubetrac
Copy link

Reported by devotedmystic on 5 Jan 2016 07:11 UTC as Trac ticket #1490632

I noticed that an encrypted PGP mail with attachments is displayed blank in Roundcube.

Example steps to repeat:

  1. Compose mail with attachment
  2. Send PGP encrypted mail
  3. Go in the Sent folder and try to access the mail. It will display blank
  4. Receiver (tested with Gmail and Mailvelope) can see all mail and download attachment

Therefore, it is a problem of correct display in Roundcube.

Migrated-From: http://trac.roundcube.net/ticket/1490632

@rcubetrac
Copy link
Author

Severity changed by devotedmystic on 5 Jan 2016 07:21 UTC

normal => critical

@rcubetrac
Copy link
Author

Comment by @alecpl on 5 Jan 2016 07:39 UTC

You use Enigma plugin for encryption? What do you mean it's blank? Any error messages in the UI or in log? What PHP version? What gnupg version?

@rcubetrac
Copy link
Author

Severity changed by @alecpl on 5 Jan 2016 07:39 UTC

critical => major

@rcubetrac
Copy link
Author

Milestone changed by @alecpl on 5 Jan 2016 07:39 UTC

later => 1.2-RC

@rcubetrac
Copy link
Author

Comment by der internethering on 7 Jan 2016 23:36 UTC

I got this problem too. I think it is a problem with multipart-emails, here some sourcecode of such a mail:

[multipart/encrypted; protocol="application/pgp-encrypted";
    boundary="=-7pG1JjZvy2idzBaS6HAy"
X-Mailer: Evolution 3.18.3 
Mime-Version: 1.0


--=-7pG1JjZvy2idzBaS6HAy
Content-Type: application/pgp-encrypted
Content-Transfer-Encoding: 7bit

Version: 1

--=-7pG1JjZvy2idzBaS6HAy
Content-Type: application/octet-stream; name="encrypted.asc"
Content-Description: Dies ist ein digital =?ISO-8859-1?Q?verschl=FCsselter?=
 Nachrichtenteil
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: GnuPG v2

hQIMA5pJ8XnkB5INAQ//adj7htSNxW0lHn6heA268iUk1MTkpKE6cQ7gPhRRGupF
0r5tD2j99vKRmzJWJELeATALJ2mGfUgzIrPXrbxLyhZfIwfApGoXX1fHxHEOEoI9
[...](...]
Content-Type:)
MwiOxbWTRZfYz0EBXyjQcFwzU1/221BAFEqoOuGOTFNv8s/B/+FMuhtOZIAwwwVu
kvj3J0Wtng==
=1vUI
-----END PGP MESSAGE-----

--=-7pG1JjZvy2idzBaS6HAy--

@rcubetrac
Copy link
Author

Comment by @alecpl on 8 Jan 2016 07:53 UTC

Looks like standard PGP/MIME message. Enigma can handle these. Works for me. @der.internethering are you using Enigma or Mailvelope? We need more info, see my previous comment.

@rcubetrac
Copy link
Author

Comment by @alecpl on 20 Jan 2016 09:26 UTC

I can confirm the issue when the encrypted message contains signed message.

@rcubetrac
Copy link
Author

Owner changed by @alecpl on 20 Jan 2016 09:26 UTC

=> alec

@rcubetrac
Copy link
Author

Summary changed by @alecpl on 20 Jan 2016 09:26 UTC

PGP mail with attachments is displayed blank

Enigma: encrypted + signed message is displayed blank

@rcubetrac
Copy link
Author

Comment by @alecpl on 21 Jan 2016 10:05 UTC

Fixed in c9e2ab4.

@rcubetrac
Copy link
Author

Status changed by @alecpl on 21 Jan 2016 10:05 UTC

new => closed

@chaos-prevails
Copy link

chaos-prevails commented Apr 21, 2016

Hello,

unfortunately I still have this problem when sending from roundcube itself. If I open the message I wrote in roundcube (encrypted+signed), the message body stays blank in roundcube. The PGP part of the message source code can be decrypted.

If I open the message in Thunderbird it shows fine. Also when sending as PGP/MIME from Thunderbird signed + encrypted, the message shows fine in roundcube with enigma.

I'm using the latest version from master (downloaded today).

@CRtEurope
Copy link

The same happens on my side. Also when I read my sent mail with an attached key only, the message is blank. Opening this message in Thunderbird or gmail everything looks fine.

@alecpl
Copy link
Member

alecpl commented Apr 21, 2016

And you both use 1.2-rc or master? Any errors in log?

@CRtEurope
Copy link

PHP 7.0 and 1.2rc git-master

@CRtEurope
Copy link

No Errors, nothing

@chaos-prevails
Copy link

chaos-prevails commented Apr 21, 2016

roundcube: 1.2-rc
enigma: master
no error messages
php 5.5.9 (14.04 ubuntu)

@alecpl
Copy link
Member

alecpl commented Apr 21, 2016

Don't forget there's external dependency - Crypt_GPG >= 1.4.0. Works for me with PHP 7.0.5, gnupg 1.4.16 and gnupg 2.0.22.

@CRtEurope
Copy link

Crypt_GPG >= 1.4.1 is installed
PHP 7.05 is installed
Will see which version of gnupg is installed when I am at home

@chaos-prevails
Copy link

chaos-prevails commented Apr 21, 2016

package php5-mcrypt is installed (5.4.6-0ubuntu5)
gpg v1.4.6 and gpg2 v2.0.22 is installed
php-crypt-gpg 1.3.2, I will try php-crypt-gpg on another machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants