From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67388 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.gnus.general Subject: Re: Decoding application/x-pkcs7-mime? Date: Tue, 16 Sep 2008 10:23:46 +0100 Message-ID: <878wtsphp9.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1221557059 25163 80.91.229.12 (16 Sep 2008 09:24:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2008 09:24:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15839@lists.math.uh.edu Tue Sep 16 11:25:12 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 1KfWnx-0006ZC-Vv for ding-account@gmane.org; Tue, 16 Sep 2008 11:25:06 +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 1KfWmq-0003pn-3l; Tue, 16 Sep 2008 04:23:56 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KfWmo-0003pQ-MJ for ding@lists.math.uh.edu; Tue, 16 Sep 2008 04:23:54 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KfWml-0006IF-Ju for ding@lists.math.uh.edu; Tue, 16 Sep 2008 04:23:54 -0500 Original-Received: from ey-out-2122.google.com ([74.125.78.26]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KfWmp-0005oj-00 for ; Tue, 16 Sep 2008 11:23:55 +0200 Original-Received: by ey-out-2122.google.com with SMTP id 5so1059894eyj.59 for ; Tue, 16 Sep 2008 02:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version:content-type:from; bh=yGPUeQkAL7uVBX8Px48JmJwmNtcP39tDVSt7oF2q9nU=; b=krudBoABxYkwi//55/s6qj2Fy0wF2PwtxubWTn2n+YM9N0cRSsLvrdRJT9zPXwwHUB jAdWGotctyknMygiwQgCGwHm1VTVi2E/aAbXH06pZGb5RVqmRJq0XrZRK0gdHpESagf1 TWPMIMWUJ953OBUAC/iRjrCD2AQIW+F1v0cdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:from; b=w2qfDDK49v/j0NQPzTOkGiEciHSNjNsUlIGUPy6lzrHuIG+JERJX+eMDTNMxTBwOrG W8Jic9NOnDnAc0sUA5tsYHcKEx5xGU48Fi8UIEv9MymU7OXvL6wb7rQ8Eml/voU+s5XO I3GUy5aowYQwt2k977yjMThYvx2PZt3UR9FEg= Original-Received: by 10.210.37.11 with SMTP id k11mr982533ebk.136.1221557029740; Tue, 16 Sep 2008 02:23:49 -0700 (PDT) Original-Received: from hake ( [86.20.34.2]) by mx.google.com with ESMTPS id f13sm196955gvd.10.2008.09.16.02.23.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Sep 2008 02:23:49 -0700 (PDT) In-Reply-To: (David Engster's message of "Tue, 16 Sep 2008 10:51:47 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67388 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= David Engster writes: > 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. > The following seems to work for me: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment ;; Automatically sign (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgpmime) (add-hook 'gnus-message-setup-hook 'mml-secure-message-encrypt-pgpmime) (require 'epa-setup) --=-=-= Amazingly that seems to be all you need to do! (although you have to install epg somewhere in your load path. Erm, only thing is that my config is spread across quite a lot of files in a directory tree so I might have forgotten something... but I think that's it! Rupert --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQECAAYFAkjPeyMACgkQRtd/pJbYVoaRsgQAoEwYBDNOSaH6KxY0tmRDcbln eXc4fVR+p60/oGXe4y7F4XGQvDeDRKpOaFITL8Bz4YCvL9IaD/av2BG+OTsu399T E1AVBAVpxoUh+3VkCIUkAdGeouypEnCxVVHx3EhKeGZv+EQBp9Zf1KzMEgi0vE2X ylkPRRNgG/ljolEK/us= =Anwo -----END PGP SIGNATURE----- --==-=-=--