Menu

Unable to view, read, or decrypt PGP/MIME messages (even if I sent them)

jtd
2014-01-28
2014-02-01
  • jtd

    jtd - 2014-01-28

    In Thunderbird, I select an encrypted message with attachment that I sent, signed, encrypted to FRIEND as PGP/MIME and hit "Enter" and blank message pane opens without text or option to enter passphrase.

    ...

    VERSIONS are:
    Thunderbird 24.2.0
    Enigmail 1.6

    ...

    MESSAGE HEADERS print:

    Message-ID: <xxxxxxxx.yyyyyyyy@gmail.com>
    Date: 
    From: 
    MIME-Version: 1.0
    To: 
    Subject: 
    References: 
    In-Reply-To: 
    Content-Type: multipart/encrypted;
     protocol="application/pgp-encrypted";
     boundary="BaO1MGUf1MH8gq51a2BTlCGuPgwVJQ6Qp"
    
    This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156)
    --BaO1MGUf1MH8gq51a2BTlCGuPgwVJQ6Qp
    Content-Type: application/pgp-encrypted
    Content-Description: PGP/MIME version identification
    
    Version: 1
    
    --BaO1MGUf1MH8gq51a2BTlCGuPgwVJQ6Qp
    Content-Type: application/octet-stream; name="encrypted.asc"
    Content-Description: OpenPGP encrypted message
    Content-Disposition: inline; filename="encrypted.asc"
    
    -----BEGIN PGP MESSAGE-----
    
    -----END PGP MESSAGE-----
    
    --BaO1MGUf1MH8gq51a2BTlCGuPgwVJQ6Qp--
    

    ...

    DEBUG LOG prints:
    2014-01-28 22:42:47.404 [DEBUG] enigmail.js: detected GnuPG version '2.0.17'
    2014-01-28 22:42:47.405 [DEBUG] enigmail.js: Enigmail.setAgentPath: gpgconf found: yes
    2014-01-28 22:42:47.405 [DEBUG] enigmail.js: detectGpgAgent
    2014-01-28 22:42:47.405 [DEBUG] enigmail.js: detectGpgAgent: GPG_AGENT_INFO variable available
    2014-01-28 22:42:47.405 [DEBUG] enigmail.js: detectGpgAgent: GPG_AGENT_INFO='/tmp/keyring-4ifJmn/gpg:0:1'
    2014-01-28 22:42:47.405 [DEBUG] enigmail.js: Setting useAgent to true for gpg2 >= 2.0.16
    2014-01-28 22:42:47.405 [DEBUG] enigmailCommon.jsm: stillActive:
    2014-01-28 22:42:47.406 [DEBUG] enigmail.js: Enigmail.initialize: END
    2014-01-28 22:42:47.406 [DEBUG] enigmailCommon.js: getService: 1.6
    2014-01-28 22:42:47.406 [DEBUG] enigmailCommon.jsm: getVersion
    2014-01-28 22:42:47.406 [DEBUG] enigmailCommon.jsm: installed version: 1.6
    2014-01-28 22:42:47.459 [DEBUG] enigmailMessengerOverlay.js: messageDecrypt: [object XrayWrapper [object Event]]
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: messageDecryptCb:
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: messageDecryptCb: mimeMsg is null
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: header content-type: multipart/encrypted; protocol="application/pgp-encrypted"; boundary="BaO1MGUf1MH8gq51a2BTlCGuPgwVJQ6Qp"
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: header content-transfer-encoding:
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: header x-enigmail-version:
    2014-01-28 22:42:47.460 [DEBUG] enigmailMessengerOverlay.js: header x-pgp-encoding-format:
    2014-01-28 22:42:47.461 [DEBUG] enigmailMessengerOverlay.js: multipart/encrypted
    2014-01-28 22:45:53.027 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:53.057 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:53.065 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:53.160 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:54.714 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:54.728 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:54.756 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:45:54.769 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:36.583 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:36.596 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:36.617 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:36.630 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:37.989 [DEBUG] enigmailMessengerOverlay.js: messageFrameUnload
    2014-01-28 22:46:37.989 [DEBUG] enigmailMessengerOverlay.js: messageCleanup
    2014-01-28 22:46:37.989 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:37.989 [DEBUG] enigmailMsgHdrViewOverlay.js: this.messageUnload
    2014-01-28 22:46:37.996 [DEBUG] enigmailMsgHdrViewOverlay.js: _listener_onStartHeaders
    2014-01-28 22:46:37.996 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:37.997 [DEBUG] enigmailCommon.jsm: getFrame: name=messagepane
    2014-01-28 22:46:37.998 [DEBUG] enigmailMsgHdrViewOverlay.js: msgFrame=[object XrayWrapper [object Window]]
    2014-01-28 22:46:37.998 [DEBUG] enigmailMsgHdrViewOverlay.js: enigmailPrepSecurityInfo
    2014-01-28 22:46:38.164 [DEBUG] enigmailMsgHdrViewOverlay.js: _listener_onEndHeaders
    2014-01-28 22:46:38.164 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal
    2014-01-28 22:46:38.273 [DEBUG] enigmailMessengerOverlay.js: messageDecrypt: [object XrayWrapper [object Event]]
    2014-01-28 22:46:38.333 [DEBUG] enigmailCommon.jsm: dispatchEvent f=
    2014-01-28 22:46:38.336 [DEBUG] enigmailCommon.jsm: dispatchEvent running mainEvent
    2014-01-28 22:46:38.336 [DEBUG] enigmailMessengerOverlay.js: messageDecryptCb:
    2014-01-28 22:46:38.336 [DEBUG] enigmailMessengerOverlay.js: header content-type: text/plain; charset="us-ascii"
    2014-01-28 22:46:38.336 [DEBUG] enigmailMessengerOverlay.js: header content-transfer-encoding: 7bit
    2014-01-28 22:46:38.337 [DEBUG] enigmailMessengerOverlay.js: header x-enigmail-version:
    2014-01-28 22:46:38.337 [DEBUG] enigmailMessengerOverlay.js: header x-pgp-encoding-format:
    2014-01-28 22:46:38.337 [DEBUG] enumerateMimeParts: - text/plain; charset="us-ascii"
    2014-01-28 22:46:38.337 [DEBUG] enumerateMimeParts: 1 - text/plain; charset="us-ascii"
    2014-01-28 22:46:38.337 [DEBUG] enigmailMessengerOverlay.js: embedded objects: /
    2014-01-28 22:46:38.338 [DEBUG] enigmailMessengerOverlay.js: messageParse: false
    2014-01-28 22:46:38.338 [DEBUG] enigmailCommon.jsm: getFrame: name=messagepane
    2014-01-28 22:46:38.338 [DEBUG] enigmailMessengerOverlay.js: msgFrame=[object XrayWrapper [object Window]]
    2014-01-28 22:46:38.339 [DEBUG] enigmailMessengerOverlay.js: bodyElement=[object XrayWrapper [object HTMLBodyElement]]

    ...

    If I click "Decrypt" button,
    DEBUG LOG prints:

    2014-01-28 22:53:55.417 [DEBUG] enigmailMessengerOverlay.js: messageDecrypt: undefined
    2014-01-28 22:53:55.469 [DEBUG] enigmailCommon.jsm: dispatchEvent f=
    2014-01-28 22:53:55.487 [DEBUG] enigmailCommon.jsm: dispatchEvent running mainEvent
    2014-01-28 22:53:55.488 [DEBUG] enigmailMessengerOverlay.js: messageDecryptCb:
    2014-01-28 22:53:55.488 [DEBUG] enigmailMessengerOverlay.js: header content-type: text/plain; charset="us-ascii"
    2014-01-28 22:53:55.488 [DEBUG] enigmailMessengerOverlay.js: header content-transfer-encoding: 7bit
    2014-01-28 22:53:55.488 [DEBUG] enigmailMessengerOverlay.js: header x-enigmail-version:
    2014-01-28 22:53:55.489 [DEBUG] enigmailMessengerOverlay.js: header x-pgp-encoding-format:
    2014-01-28 22:53:55.489 [DEBUG] enumerateMimeParts: - text/plain; charset="us-ascii"
    2014-01-28 22:53:55.489 [DEBUG] enumerateMimeParts: 1 - text/plain; charset="us-ascii"
    2014-01-28 22:53:55.490 [DEBUG] enigmailMessengerOverlay.js: embedded objects: /
    2014-01-28 22:53:55.491 [DEBUG] enigmailMessengerOverlay.js: messageParse: true
    2014-01-28 22:53:55.491 [DEBUG] enigmailCommon.jsm: getFrame: name=messagepane
    2014-01-28 22:53:55.492 [DEBUG] enigmailMessengerOverlay.js: msgFrame=[object XrayWrapper [object Window]]
    2014-01-28 22:53:55.493 [DEBUG] enigmailMessengerOverlay.js: bodyElement=[object XrayWrapper [object HTMLBodyElement]]

    ...

    I have successfully used PGP/MIME on Ubuntu 12.04LTS in the past. What can I do to recover Enigmail functionality for PGP/MIME encrypted messages?

    Many thanks!

     

    Last edit: Patrick Brunschwig 2014-02-01
  • Ludwig Hügelschäfer

    Hi,

    are the message header and the MIME-boundaries really as in the original message? Was your friend able to decrypt the message? It seems to me that the MIME boundaries do not match the declaration in the header.

     
  • Patrick Brunschwig

    The boundaries do match

     
  • Ludwig Hügelschäfer

    You're right. The posting here in the forum shows identical boundaries. However, the double hyphens at the beginning of the declaration were missing in the notification mail from sourceforge :-( False alarm, sorry.

     

Log in to post a comment.