From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19811 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME and PGP (was: Gnus and Crypto stuff) Date: 11 Dec 1998 09:55:07 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158093 13521 80.91.224.250 (20 Oct 2002 23:54:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:54:53 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA08738 for ; Fri, 11 Dec 1998 11:03:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id KAA26957; Fri, 11 Dec 1998 10:02:43 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 11 Dec 1998 10:02:49 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA04211 for ; Fri, 11 Dec 1998 10:02:40 -0600 (CST) Original-Received: from gatekeeper2.monsanto.com (firewall-user@gatekeeper2.monsanto.com [199.89.234.124]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id LAA08697 for ; Fri, 11 Dec 1998 11:02:29 -0500 (EST) Original-Received: by gatekeeper2.monsanto.com; id JAA17355; Fri, 11 Dec 1998 09:57:49 -0600 Original-Received: from mhstl1.monsanto.com(10.135.250.82) by gatekeeper2.monsanto.com via smap (4.1) id xma010287; Fri, 11 Dec 98 09:50:53 -0600 Original-Received: from [137.35.49.136] by mhstl1.monsanto.com; (5.65v3.2/1.1.8.2/02Sep98-1041AM) id AA29745; Fri, 11 Dec 1998 09:55:14 -0600 Original-To: ding@gnus.org X-Zippy: How many retired bricklayers from FLORIDA are out purchasing In-Reply-To: Karl Kleinpaste's message of "Fri, 11 Dec 1998 10:14:16 -0500" User-Agent: Gnus/5.070062 (Pterodactyl Gnus v0.62) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 43 Xref: main.gmane.org gmane.emacs.gnus.general:19811 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19811 >>>>> "KK" == Karl Kleinpaste writes: KK> Jack Vinson writes: >> It looked to me like there should have been about three parts, but >> that the PGP signature broke the MIME parsing somehow. KK> Assuming that one wants to PGP-sign an entire message, one needs the KK> ability for Gnus to MIME-encode the whole thing and then let MailCrypt KK> do its PGP thing to the result. Similarly, on receipt, we need the KK> ability to make gnus-article-hide-pgp happen rather early on, followed KK> by MIME decoding. The fundamental problem we're up against is that, KK> at least for the recipient, PGP armor is removed rather late in the KK> game, long after Gnus has reached its conclusions about the MIME KK> components in the message. PGP needs to be the last thing added and KK> the first thing removed. KK> I'm not really sure what semantic would be in order, if one wanted to KK> PGP-sign individual components of a message, rather than the whole KK> thing. At least for message-send, the current set of actions is something like - fixup the message - encode the message body - run message-send-hook - send the message - message-header-hook, message-send-mail-hook or message-send-news-hook - deal with fcc - run message-sent-hook - housekeeping It looks like message-send-mail/news-hook are run with the final version of the message (i.e. just before it goes out to the world). I am guess this is where the pgp stuff *should* be called. But that means adding pgp to two hooks instead of just one. As I mentioned earlier, I would like a hook that is called before the message body is encoded so that things like ispell-message don't have to deal with the MIME stuff. -- Jack Vinson http://www.cis.upenn.edu/~vinson/ Zippy: I'm shaving!! I'M SHAVING!!