From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67386 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Decoding application/x-pkcs7-mime? Date: Tue, 16 Sep 2008 10:51:47 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221555126 18771 80.91.229.12 (16 Sep 2008 08:52:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2008 08:52:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15837=ding+2Daccount=gmane.org@lists.math.uh.edu Tue Sep 16 10:52:58 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KfWIr-0006MZ-BJ for ding-account@gmane.org; Tue, 16 Sep 2008 10:52:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KfWHq-0003Yl-8w for ding-account@gmane.org; Tue, 16 Sep 2008 03:51:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KfWHp-0003Yg-DF for ding@lists.math.uh.edu; Tue, 16 Sep 2008 03:51:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KfWHm-0000rA-M3 for ding@lists.math.uh.edu; Tue, 16 Sep 2008 03:51:53 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KfWHq-0005CD-00 for ; Tue, 16 Sep 2008 10:51:54 +0200 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by m61s02.vlinux.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KfWHp-0007pk-SY for ding@gnus.org; Tue, 16 Sep 2008 10:51:53 +0200 Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: (Norman Walsh's message of "Mon, 15 Sep 2008 10:24:40 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.90 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67386 Archived-At: Norman Walsh writes: > One of my colleagues has started sending mail signed as follows: > > Content-Type: application/x-pkcs7-mime;smime-type=signed-data;name=smime.p7m; > smime-type=signed-data; > name="smime.p7m" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; > filename="smime.p7m" > Content-class: urn:content-classes:message This looks like signed and encrypted? A purely signed message usually has a part Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature Anyway. Do you have something like (add-to-list 'gnus-newsgroup-variables '(gnus-buttonized-mime-types . '("multipart/encrypted" "multipart/signed" "multipart/alternative"))) (setq mm-decrypt-option 'always) (setq mm-verify-option 'always) in your .gnus? Some time ago, I've written up my quest to get S/MIME to work in Gnus on the EmacsWiki: http://www.emacswiki.org/cgi-bin/wiki/GnusSMIME I guess this is not up-to-date anymore, but it might still work. I also remember trying to use EPG and gnutls, but it didn't work at that time. If someone succesfully uses S/MIME with those, I'd love to see an example setup. -David