#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
 Keywords:            |
----------------------+----------------------
 forwarded from https://bugs.archlinux.org/task/43319

 When sending a public key with the extension .asc using mutt, the receiver
 only gets an attachment with the content 'Version: 1' and nothing else.
 The file /etc/mime-types contains 'application/pgp-encrypted asc pgp'.
 Mutt uses this mime-type to override the content of the file the hard way
 as shown in [1].

 Additional info:
 * mime-types 9-1
 * mutt 1.5.23-1
 * Arch Linux current as of 2015-03-01

 Steps to reproduce:
 * Create a public key: gpg --export-options export-minimal -a --export
 keyid > pubkey.asc
 * Compose a new e-mail in mutt
 * Attach the created public key file: pubkey.asc
 * Mutt detects the mime-type as application/pgp-encrypted and replaces the
 content with 'Version: 1' [1].

 [1] http://sourceforge.net/p/mutt/code/ci/default/tree/sendlib.c#l443

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

Reply via email to