From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37460 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: multipart s/mime signed Date: Sat, 04 Aug 2001 16:02:16 +0400 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172872 14016 80.91.224.250 (21 Oct 2002 04:01:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:01:12 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 17282 invoked from network); 4 Aug 2001 12:02:25 -0000 Original-Received: from relay1.vsu.ru (HELO vsu.ru) (62.76.169.14) by gnus.org with SMTP; 4 Aug 2001 12:02:25 -0000 Original-Received: from [62.76.169.38] (HELO video) by vsu.ru (CommuniGate Pro SMTP 3.5b3) with ESMTP id 3687910 for ding@gnus.org; Sat, 04 Aug 2001 16:02:12 +0400 Original-To: ding@gnus.org User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 88 Xref: main.gmane.org gmane.emacs.gnus.general:37460 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37460 Hi, when i send the following MML message: This is a test. gnus generates an incorrect MIME message: | To: ... | Subject: ... | From: Vladimir Volovich | Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; | micalg=sha1; boundary="----B74C59615493C8D84A8F6A42196B2EF2" | | This is an S/MIME signed message | | ------B74C59615493C8D84A8F6A42196B2EF2 | Content-Type: multipart/signed; boundary="=-=-=" | | --=-=-= | Content-Type: text/plain; charset=koi8-r | Content-Transfer-Encoding: quoted-printable | | This is a test. | | --=-=-= | Content-Type: application/octet-stream | Content-Disposition: attachment; filename=filename.txt | | ..... | | --=-=-=-- | | ------B74C59615493C8D84A8F6A42196B2EF2 | Content-Type: application/x-pkcs7-signature; name="smime.p7s" | Content-Transfer-Encoding: base64 | Content-Disposition: attachment; filename="smime.p7s" | | ..... | | ------B74C59615493C8D84A8F6A42196B2EF2-- The bug is that the Content-Type of the signed message is Content-Type: multipart/signed; boundary="=-=-=" instead of Content-Type: multipart/mixed; boundary="=-=-=" As a result, gnus displays this message as [[S/MIME Signed Part:Undecided]] [[Unknown Signed Part:Undecided]] This is a test. [2. application/octet-stream; passwd]... [[End of Unknown Signed Part]] [3. application/x-pkcs7-signature; smime.p7s]... [[End of S/MIME Signed Part]] instead of [[S/MIME Signed Part:Undecided]] This is a test. [2. application/octet-stream; passwd]... [3. application/x-pkcs7-signature; smime.p7s]... [[End of S/MIME Signed Part]] The situation is not better if i use the following MML: This is a test. BTW, should i explicitly use inside to sign a multipart MIME message? Best, v.