GPGMail: Message with multipart/mixed encrypted attachment appears blank

Tim's Avatar

Tim

08 Feb, 2017 07:10 AM

I received a multipart/mixed message with unencrypted text and an encrypted attachment.
The message appears as signed and encrypted, but neither the text nor the attachment shows up in the message.

A workaround is to "View Raw Source" and then use GPG to decrypt the attachment.

The raw source looks like:

HEADERS
Content-Type: multipart/mixed; boundary=NONCE1

--NONCE1 Content-Type: text/plain; charset=UTF-8

PLAIN TEXT MESSAGE

--NONCE1 Content-Type: application/pgp-encrypted; name="FILENAME.gpg"
Content-Disposition: attachment; filename="FILENAME.gpg"
Content-Transfer-Encoding: base64
X-Attachment-Id: NONCE2

BASE64 GPG CONTENT
--NONCE1--

Expected
The text part appears, whether signed or encrypted or plain text.
The attachment appears, whether signed or encrypted or plain text.

For bonus points: The signed and encrypted part should be visually distinguished from the unsigned plaintext part, and the message itself is identified as mixed content.

macOS           10.12.3     16D32
GPG Suite       2017.1b2    31b 
GPGMail         2.7b2       1192b
GPG Keychain    1.3.3b1     1249b
GPGServices     1.11        916 
MacGPG2         2.0.30-1b2  887-
GPGPreferences  2.0.2b2     912b
Libmacgpg       0.7         775 
pinentry        0.9.7       4
  1. Support Staff 1 Posted by Luke Le on 29 Mar, 2017 04:14 PM

    Luke Le's Avatar

    Hi Tim,

    thank you for reporting this issue. Would it be possible to have a message similar to one you're describing sent to us at team(at)gpgtools(dot)org for debugging purposes?
    Please reference this discussion in the subject, so we know what discussion it belongs to.

    Thanks!

  2. Luke Le closed this discussion on 29 Mar, 2017 04:14 PM.

  3. Luke Le re-opened this discussion on 29 Mar, 2017 04:14 PM

  4. 2 Posted by Tim on 28 Apr, 2017 09:25 AM

    Tim's Avatar

    I can't send you the message I received, and I can't reproduce this issue using Mac Mail. Perhaps it's something that mutt does?

  5. Support Staff 3 Posted by Steve on 04 May, 2017 11:39 AM

    Steve's Avatar

    Could you ask your contact using Mutt for additional test messages which you could then share?

  6. Support Staff 4 Posted by Steve on 07 Aug, 2017 06:14 PM

    Steve's Avatar

    Ping on this report here. Where you able to ask your contact for further sample messages?

  7. Support Staff 5 Posted by Steve on 22 Oct, 2017 04:51 PM

    Steve's Avatar

    Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.

    All the best, steve

  8. Steve closed this discussion on 22 Oct, 2017 04:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac