From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37250 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: Re: decrypting S/MIME messages Date: Mon, 30 Jul 2001 13:39:54 +0400 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172698 12897 80.91.224.250 (21 Oct 2002 03:58:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:58:18 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 29460 invoked from network); 30 Jul 2001 09:40:00 -0000 Original-Received: from relay1.vsu.ru (HELO vsu.ru) (62.76.169.14) by gnus.org with SMTP; 30 Jul 2001 09:40:00 -0000 Original-Received: from [62.76.169.38] (HELO video) by vsu.ru (CommuniGate Pro SMTP 3.5b3) with ESMTP id 3671377 for ding@gnus.org; Mon, 30 Jul 2001 13:39:52 +0400 Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Sun, 29 Jul 2001 22:14:44 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:37250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37250 "SJ" == Simon Josefsson writes: SJ> I had no problem with XEmacs 21.4 or Emacs 21.0.104, do you have SJ> some special mule setting? It might be some mule interference, SJ> the code compares buffer contents with a string. Please try this SJ> patch and tell if it works or not: SJ> --- mm-view.el.~6.13.~ Sun Jul 29 03:01:59 2001 +++ mm-view.el SJ> Sun Jul 29 18:02:13 2001 @@ -338,7 +338,7 @@ ?\x86 ?\xf7 ?\x0d SJ> ?\x01 ?\x07 ?\x03))))) SJ> (defun mm-view-pkcs7-get-type (handle) - (with-temp-buffer + SJ> (mm-with-unibyte-buffer (mm-insert-part handle) (cond SJ> ((looking-at (regexp-quote mm-pkcs7-enveloped-magic)) 'enveloped) no, it does not help. i'm sending a separate s/mime-encrypted email to you. (i used public key of someone else, but you should still get the same error?) BTW, is s/mime encryption only supposed to work for the whole message? if i put the tag not at the beginning of the message (to encrypt only some parts of the MIME message), gnus generates an incorrect MIME message. Best, v.