#3724: mime type application/pgp-encrypted breaks sending public keys with
extension .asc
-----------------------+----------------------
  Reporter:  na57teku  |      Owner:  mutt-dev
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:
 Component:  mutt      |    Version:  1.5.23
Resolution:            |   Keywords:
-----------------------+----------------------

Comment (by code@…):

 {{{
 Well, this looks potentially wrong to me... though I'd like to see
 what it did if the file contained actual PGP data (I may test that
 later if I have time and no one beats me to it).  I do tend to think
 Mutt should handle these as normal attachments, but as I commented I
 can see how there may be good arguments for one of the other choices.

 Nevertheless, a good workaround for the reporter's problem is to do it
 correctly, and use the proper MIME type for PGP keys (which as I
 pointed out was application/pgp-keys).  The mime.types configuration
 is a tricky matter since AFAIK there are no standardized extensions
 which differentiate between key data, signature data, and message data
 (.asc and .pgp are used for all of the above, AFAIK).  Probably the
 best bet, sadly, is to remove the mime type entirely from mime.types,
 and then edit the type manually.

 Alternatively, define your own extensions for each type and use that.
 That's kind of gross because it's non-standard.
 }}}

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

Reply via email to