#3728: unable to view encrypted multipart attachments
-------------------------------------------------+-------------------------
 Reporter:  rejozenger                           |      Owner:  mutt-dev
     Type:  defect                               |     Status:  new
 Priority:  minor                                |  Milestone:
Component:  crypto                               |    Version:  1.5.23
 Keywords:  attachements, encryption,            |
  multipart/encrypted                            |
-------------------------------------------------+-------------------------
 Sometimes, I receive e-mails that are (at least partly) encrypted and that
 included attachments. I am not able to view those attachments. So, when I
 open the message I see:

 {{{
   [-- Attachment #1 --]
   [-- Type: multipart/encrypted, Encoding: 7bit, Size: 1.9M --]

   [...]

   [-- The following data is PGP/MIME encrypted --]

   [-- Attachment #1 --]
   [-- Type: text/plain, Encoding: quoted-printable, Size: 1.2K --]

   [...]

   [-- Attachment #2: column.pdf --]
   [-- Type: binary/octet-stream, Encoding: base64, Size: 1.9M --]

   [-- binary/octet-stream is unsupported (use 'v' to view this part) --]

   [-- End of PGP/MIME encrypted data --]

   [-- Attachment #2 --]
   [-- Type: text/plain, Encoding: 7bit, Size: 0.1K --]
 }}}


 The MIME-structure is:

 {{{
  - multipart/mixed
    - multipart/encrypted
      - application/pgp-encrypted
        - application/octet-stream
          - multipart/mixed
            - text/plain
            - binary/octet-stream
     - text/plain
 }}}


 So, in order to view the attachments, I press "v" and I'll see this:

 {{{
   I     1 <no description>                      [multipa/encrypted, 7bit,
 1.9M]
   I     2 <no description>                   [text/plain, 7bit, us-ascii,
 0.1K]
 }}}


 In other words:

 {{{
  - multipart/mixed
    - multipart/encrypted
    - text/plain
 }}}

 The issue: I am unable to select the multipart/encrypted container,
 descent into it and get to select, view or save any of the sub-containers
 (e.g. the PDF that is in "binary/octet-stream").

 This issue was discussed briefly at
 [http://comments.gmane.org/gmane.mail.mutt.user/41585 the mutt-users].

 As a work-around I am saving the multipart/encrypted container to a file,
 then manualy use gpg and openssl on the commandline to remove the GPG and
 Base64 encryption.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3728>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to