From: Simon Josefsson <jas@extundo.com>
Subject: Re: Need to MIME-process a message after decrypting
Date: Tue, 18 Apr 2006 10:49:15 +0200 [thread overview]
Message-ID: <87lku3tgj8.fsf@latte.josefsson.org> (raw)
In-Reply-To: <m3slogbpjx.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 14 Apr 2006 09:10:26 +0200")
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> kai@emptydomain.de (Kai Großjohann) writes:
>
>> I have access to a mail server that supports "autopgp". This is a
>> feature where you put the string "autopgp" into the subject line and
>> the mail server automatically encrypts the mail to all recipients.
>> (This only works for recipients on the same server, obviously.)
>>
>> An autopgp message arrives as a somewhat strange format. Here is what
>> I get in the article buffer after entering my passphrase:
>>
>> From: kai.grossjohann@dieneueepoche.com (Kai Großjohann)
>> Subject: test autopgp
>> To: Kai Großjohann <kai.grossjohann@dieneueepoche.com>
>> Date: Fri, 22 Jul 2005 14:02:28 +0200
>>
>> Content-Type: text/plain; charset=iso-8859-15
>> Content-Transfer-Encoding: quoted-printable
>>
>> Sch=F6ne Umlaute.
>>
>> As you can see, the encrypted bit contains MIME headers. How do I get
>> Gnus to look for and interpret these headers prior to displaying the
>> message?
>
> This should work automatically, I'd have thought. (Although it's been
> a long while since I read the PGP code.)
Having the MIME headers as part of the rfc822 mailbox isn't
supported, and isn't standardized.
Theoretically, it may be dangerous to do as well. Consider:
,----
| From: foo@bar.com
| Content-type: text/plain
|
| Context-Type: application/shell-script
|
| rm -rf /
`----
Should rendering that message display:
,----
| Context-Type: application/shell-script
|
| rm -rf /
`----
or a MIME button for an application/shell-script?
> But it's difficult to debug without a real example of some kind...
Yup.
prev parent reply other threads:[~2006-04-18 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 14:17 Kai Großjohann
2006-04-14 7:10 ` Lars Magne Ingebrigtsen
2006-04-18 8:49 ` Simon Josefsson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lku3tgj8.fsf@latte.josefsson.org \
--to=jas@extundo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).