Re: notmuch show decrypt into mbox format

Subject: Re: notmuch show decrypt into mbox format

Date: Wed, 20 Dec 2023 13:21:32 -0800

To: Sandra Snan, notmuch@notmuchmail.org

Cc:

From: David Bremner


Sandra Snan <sandra.snan@idiomdrottning.org> writes:

> This didn't decrypt:
>
>     notmuch show --format=mbox --entire-thread=true --decrypt=true
>
> The default text format to notmuch show does decrypt the parts just
> fine. I wanted the mbox format so I could use it with b4 to extract
> patches.

Hmm. The code (format_part_mbox in notmuch-show.c) is pretty simple, it
basically reads the raw messages (up to gunzip and '^From ' escaping. I
guess we could add a second code path that parsed and decrypted the
messages before re-serializing them again. At the moment I don't have a
clear idea how much code that would be.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: