From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35611 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: signed/encrypted messages with attachments... Date: 03 Apr 2001 11:14:13 -0400 Organization: Gnus Information Center Message-ID: <87ofueaud6.fsf@mclinux.com> References: <87y9tjp21v.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171329 4060 80.91.224.250 (21 Oct 2002 03:35:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:35:29 +0000 (UTC) Return-Path: Original-Received: (qmail 19861 invoked by alias); 3 Apr 2001 15:14:25 -0000 Original-Received: (qmail 19856 invoked from network); 3 Apr 2001 15:14:25 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 3 Apr 2001 15:14:25 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id RAA14095 for ding@gnus.org; Tue, 3 Apr 2001 17:14:23 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: lowell.missioncriticallinux.com Original-X-Trace: quimby.gnus.org 986310862 16321 208.51.139.16 (3 Apr 2001 15:14:22 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 3 Apr 2001 15:14:22 GMT X-Go-Away: or I shall taunt you a second time! X-PGP-KeyID: 6B21489A X-PGP-CertKey: 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A X-Request-PGP: finger:huber@db.debian.org User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands) Original-Lines: 78 Xref: main.gmane.org gmane.emacs.gnus.general:35611 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35611 Simon Josefsson writes: > Josh Huber writes: > MIME-Version: 1.0 > Content-Type: multipart/mixed; boundary="==-=-=" Yeah, this definately doesn't look right :) The headers got mixed in with the body of the MIME part. > It should work, does it not? Let's see, I'll attach a dummy file and > sign this mail.. *previewing it* No, this doesn't look right, only > the text was signed. Well, you can add "sign=pgpmime" to the > attachment MML tag as well, but then you'll get two multipart/signed > structures, which probably no other mail reader than Gnus would > handle. Right, I think mutt does this correctly. For example, a signed message I received has the following structure: (headers) Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline ... (body) --Pd0ReVV5GZGQvF3a Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [text here] --6c2NcOVqGQ03X4Wi Content-Type: text/x-csrc; charset=us-ascii Content-Disposition: attachment; filename="foo.c" Content-Transfer-Encoding: quoted-printable [attached c file here] --6c2NcOVqGQ03X4Wi-- --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline [pgp signature here] --Pd0ReVV5GZGQvF3a-- > Ah, you can do: > > <$mml sign=pgpmime> > text... > <$part filename="~/foo"> > > and then you only get one top-level multipart/signed part containing a > multipart/mixed part with the text and the file. But somehow the > attribution ("Josh Huber writes:") ends up inside > MIME headers. Perhaps this breaks the signature as well. Let's see.. Well, I don't know, because your signature doesn't seem to be available from the keyservers. oh well. the message was definately screwed up, though. anyone who's a little more familiar with the mml gnus code have any ideas here? If not, i'll take a look myself... -- Josh Huber