-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of encrypted PGP/MIME multipart messages #175
Comments
|
I dunno an easier way to solve your problem. |
Reopening this. I looked into using filters for mshow -t and -x, but it seems like a waste to run them just because of the exit status. Perhaps mgpg should just be integrated into mshow directly (and spawn gpg via a pipe). Patches welcome. |
I am personally happy with my setup where I decrypt mails using a separate mshowpgp program. If someone implements PGP support in mshow itself, be careful not to run into efail in combination with text/html filters. |
Late to the party here, but I'm just doing something way dumber here: That said. It would be nice to also verify the signature. |
I recently noticed that
contrib/mpgp
doesn't seem to handle encrypted PGP/MIME multipart messages well. For instance, consider an encrypted PGP/MIME messages which consists of text + attachments (e.g. tarballs). Sincempgp
is a filter it does not seem to be possible to extract attachments from such a message (e.g. throughmshow -x
) or at least, I didn't manage to do so.In case anybody else is encountering this issue, I wrote myself the following script (
mshowpgp
) which I use instead ofmpgp
:If the current message is PGP/MIME encrypted its attachments can be extracted using
mshowpgp -x
as usual. The script also illustrates some shortcomings ofmshow
:/dev/stdin
is not specified by POSIX).mshow -x
ormshow -O
is used it does not seem to be possible to use the current message without explicitly specifying its path.If there is any way to extract attachments with the
mpgp
filter please let me know.The text was updated successfully, but these errors were encountered: