karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

Adapt patch for encrypt-to-self with S/MIME #92

Open duckdalbe opened 9 years ago

duckdalbe commented 9 years ago

Currently it's not possible to tell mutt(-kz) to also encrypt to the default key with S/MIME.

There's this patch: https://www.mandarb.com/mutt/patch-1.5.19-ow.smime-encrypt-self.1, which applies with little adjustments (adjusted here: https://gist.github.com/duckdalbe/49f1b0171db662074dcc). But apparently it fails to properly add the default-key to the keylist: when running mutt with the option it core-dumps while encrypting saying

error adding recipient `0xREALRECIPIENT0xDEFAULTKEY?': End of file?

Fixing this is out of my league. But maybe it's not too hard for someone else?