nixpkgs/pkgs/applications
Maximilian Bosch 991d4bf68c
mutt/neomutt: work around S/MIME issues with application/pgp-encrypted
The original issue can be reproduced when sending with an unpatched
`mutt` or `neomutt` an email with an attachement which as han `.asc`
extension. This will be interpreted as `application/pgp-encrypted` which
experiences special logic, in the end the attachement will contain
"Version: 1"[1][2][3]

Right now, there are the following issues in the {,neo}mutt packages:

* `mutt.override { smimeSupport = true }` fails to build since the
  Debian patch results in a 404. Debian moved their packages to
  `salsa.debian.org`.

  However we can't use a versioned URL for this as Debian only tracks
  the Mutt versions that are available in their releases. The patch
  doesn't touch Mutt's core and is therefore simple to rebase, so
  sticking to the 1.10.2 patch for now should be sufficient.

* The original issue was never fixed in NeoMutt, currently we use the
  S/MIME database from `pkgs.mime-types` which contains the issue with
  `application/pgp-encrypted` as well.

  After some discussion[4] it seems to be the best decision to use the
  `mailcap` database distributed by Fedora[5] which fixes the issue
  rather than `mime-types` v9 from 2012.

[1] https://bugs.archlinux.org/task/43319
[2] https://bugs.gentoo.org/534658
[3] https://github.com/neomutt/neomutt/blob/neomutt-20180716/sendlib.c#L490-L496
[4] https://github.com/NixOS/nixpkgs/pull/50927#issuecomment-441383260
[5] https://pagure.io/mailcap
2018-11-26 01:51:41 +01:00
..
altcoins Merge pull request #50530 from jb55/bump-clightning 2018-11-22 20:23:20 +01:00
audio cadence: fix wrong wrappings (#50610) 2018-11-25 20:14:34 +01:00
backup Revert "treewide: remove placeholder usage" 2018-08-30 18:18:29 +02:00
display-managers ly: init at 0.2.1 2018-11-08 21:40:00 +01:00
editors Treewide: use https for launchpad.net 2018-11-24 23:47:52 +01:00
gis openorienteering-mapper: 0.8.2 -> 0.8.3 (#49217) 2018-10-27 12:03:09 -04:00
graphics deskew: init at 1.25 2018-11-25 07:40:41 -08:00
inferno pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
kde Merge pull request #48033 from colemickens/konqueror 2018-11-01 05:05:31 +00:00
misc confuse: remove and replace with libconfuse 2018-11-25 18:20:42 +01:00
networking mutt/neomutt: work around S/MIME issues with application/pgp-encrypted 2018-11-26 01:51:41 +01:00
office kmymoney: cleanup install check 2018-11-24 13:46:54 -06:00
science sage: add tkinter as matplotlib backend (#51032) 2018-11-25 17:38:45 +01:00
search recoll: 1.23.7 -> 1.24.3 (#50563) 2018-11-18 12:31:12 +01:00
version-management Treewide: use https for src.fedoraproject.org 2018-11-24 23:53:27 +01:00
video Merge pull request #47745 from r-ryantm/auto-update/openshot-qt 2018-11-25 13:33:39 +01:00
virtualization win-spice: add meta.license 2018-11-25 13:57:57 +01:00
window-managers confuse: remove and replace with libconfuse 2018-11-25 18:20:42 +01:00