Gnus development mailing list
 help / color / mirror / Atom feed
From: Florian Weimer <fw@s.netic.de>
Subject: Re: MIME-PGP
Date: 04 Jul 1999 21:20:39 +0200	[thread overview]
Message-ID: <m37logql14.fsf@deneb.cygnus.stuttgart.netsurf.de> (raw)
In-Reply-To: <m3d7yauoij.fsf@quimbies.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Do you mean that the decryption/verification hook should sweep the
> message first, and then transform the message in some way?  By
> decoding stuff or verifying stuff, and then replacing that stuff with
> the decoded/verified stuff?  Hm.

Well, sort of.  Did you get the code I sent to you?  I hoped it would
clarify my approach (although it's an utter mess).

I'd like to suggest the following solution:

- encoding: provide a hook which allows to generate MIME multiparts
  based on the encoded version of the contained parts.  This means that
  you can write (had to fake it a bit, so that Gnus groks it ;):

    | <# multipart type=signed>
    | This is a signed multipart.
    | <# part type="text/plain" filename="~/file2"
    |   disposition=attachment description="signed attachment">
    | <# /part>
    | <# /multipart>

  ...and Gnus will do the necessary work automatically when you send
  the message.

- decoding: do all verification and decryption during the dissection
  phase (don't defer it until the article is actually displayed; an
  appropriate hook is required, of course).

> Well, why not just quote the "\nFrom " lines before calling the
> qp-encode function?  It seems like a cleaner way to do this.

Eh, I don't see how this could work.  If a s/^From /From=20/ is done
before qp-encode is called, wouldn't this result in `From=3D20'?


  reply	other threads:[~1999-07-04 19:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-11 19:43 I'm alive! Lars Magne Ingebrigtsen
1999-06-11 20:44 ` Karl Kleinpaste
1999-06-11 21:17 ` Wes Hardaker
1999-06-11 23:29 ` Harry Putnam
     [not found] ` <m3aeu5ju31.fsf@deneb.cygnus.stuttgart.netsurf.de>
1999-06-13  8:16   ` Lars Magne Ingebrigtsen
1999-06-13 12:48     ` MIME-PGP (was: Re: I'm alive!) Florian Weimer
1999-07-03  8:27       ` Lars Magne Ingebrigtsen
1999-07-04 19:20         ` Florian Weimer [this message]
1999-07-06  3:34           ` MIME-PGP Lars Magne Ingebrigtsen
1999-07-06  9:24             ` MIME-PGP Florian Weimer
1999-07-09 16:51               ` MIME-PGP Lars Magne Ingebrigtsen
1999-07-10 18:14                 ` MIME-PGP Florian Weimer
1999-08-27 17:08                   ` MIME-PGP Lars Magne Ingebrigtsen
1999-07-09 10:37           ` MIME-PGP Toby Speight

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=m37logql14.fsf@deneb.cygnus.stuttgart.netsurf.de \
    --to=fw@s.netic.de \
    /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).