From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35604 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: signed/encrypted messages with attachments... Date: 03 Apr 2001 05:10:35 +0200 Message-ID: References: <87y9tjp21v.fsf@mclinux.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: main.gmane.org 1035171323 4030 80.91.224.250 (21 Oct 2002 03:35:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:35:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 16981 invoked by alias); 3 Apr 2001 09:10:24 -0000 Original-Received: (qmail 16976 invoked from network); 3 Apr 2001 09:10:23 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 3 Apr 2001 09:10:23 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f339AJj09118; Tue, 3 Apr 2001 11:10:22 +0200 Original-To: Josh Huber In-Reply-To: <87y9tjp21v.fsf@mclinux.com> (Josh Huber's message of "02 Apr 2001 14:52:12 -0400") Mail-Copies-To: nobody User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.101 Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:35604 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35604 --==-=-= Josh Huber writes: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Transfer-Encoding: quoted-printable > Is there a way to get signatures or encryption working on messages > that contain attachments, or does mml2015.el just not do it yet? 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=3Dpgpmime" 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. Ah, you can do: <$mml sign=3Dpgpmime> text... <$part filename=3D"~/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.. --==-=-= Content-Disposition: attachment; filename=foo Content-Transfer-Encoding: quoted-printable This is text. --==-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard iD8DBQE6yT8sntWIv2+cypERAt48AJ95mDwfEwwnF1n2I5ogFNCGq14A2QCgp43q zu5rOloOZFxS6GiOhKOOOAw= =5zTD -----END PGP MESSAGE----- --==-=-=--