From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37496 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: "Could not identify PKCS#7 type" error Date: Sat, 04 Aug 2001 21:59:51 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-5 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035172901 14208 80.91.224.250 (21 Oct 2002 04:01:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:01:41 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 21665 invoked from network); 4 Aug 2001 19:58:38 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 4 Aug 2001 19:58:38 -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 f74Jwfw06014; Sat, 4 Aug 2001 21:58:41 +0200 Original-To: Vladimir Volovich In-Reply-To: (Vladimir Volovich's message of "Sat, 04 Aug 2001 21:37:45 +0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:37496 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37496 Vladimir Volovich writes: > Hi, >=20 > when viewing s/mime encoded messages, i (still) get an error > "Could not identify PKCS#7 type". i traced the function > mm-view-pkcs7-get-type and it appears that it looks for the regexp >=20 > "0=82..=06 \\*=86H=86=B2=01=07=03" >=20 > but the buffer " *temp*" begins with >=20 > "0=80=06 *=86H=86=B2=01=07=03" Ah, of course, the regexp should cater for various BER length fields. Does it work now? > does this mean that the contents of the encrypted part is invalid, or > the regexp is buggy? >=20 > note that these encrypted s/mime messages are viewed fine with > e.g. netscape, so it looks like a bug in gnus. Yes, assume Gnus is buggy when S/MIME doesn't work (and please send a bug report). It hasn't been tested much.