nixpkgs/pkgs
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
..
applications mutt/neomutt: work around S/MIME issues with application/pgp-encrypted 2018-11-26 01:51:41 +01:00
build-support Merge pull request #50560 from oxij/pkgs/fetchurl-mirrors 2018-11-23 11:56:44 +00:00
common-updater common-updater, firefox: fix updater for firefox 2018-11-16 23:04:54 +09:00
data Merge pull request #50987 from c0bw3b/pkg/mailcap 2018-11-25 16:14:34 +01:00
desktops Merge master into staging-next 2018-11-20 11:47:26 +01:00
development Merge pull request #51036 from c0bw3b/cleanup/confuse 2018-11-25 19:28:23 +01:00
games crack-attack: enable custom sounds 2018-11-25 17:08:16 +01:00
misc nordic: 1.2.1 -> 1.3.0 (#51038) 2018-11-25 19:43:01 +01:00
os-specific pommed: remove 2018-11-25 18:51:52 +01:00
servers Merge pull request #50469 from mguentner/mxisd 2018-11-25 13:26:05 +00:00
shells grml-zsh-config: 0.15.0 -> 0.15.1 2018-11-25 04:25:39 -05:00
stdenv make-derivation: don’t disallow propagated native inputs 2018-11-21 09:39:47 -06:00
test pkgs/test/nixos-functions: use dummy versioning 2018-11-19 19:26:52 +00:00
tools confuse: remove and replace with libconfuse 2018-11-25 18:20:42 +01:00
top-level Merge pull request #51036 from c0bw3b/cleanup/confuse 2018-11-25 19:28:23 +01:00