From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69824 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Accepting x-pkcs7-signature Date: Fri, 23 Jul 2010 12:32:24 +0200 Message-ID: References: <87y6d3z0f4.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279881192 28179 80.91.229.12 (23 Jul 2010 10:33:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 10:33:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18214@lists.math.uh.edu Fri Jul 23 12:33:09 2010 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.69) (envelope-from ) id 1OcFYx-0000U2-5U for ding-account@gmane.org; Fri, 23 Jul 2010 12:33:07 +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 1OcFYV-0000zu-87; Fri, 23 Jul 2010 05:32:39 -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 1OcFYT-0000zb-OQ for ding@lists.math.uh.edu; Fri, 23 Jul 2010 05:32:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OcFYR-0001An-PQ for ding@lists.math.uh.edu; Fri, 23 Jul 2010 05:32:37 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OcFYR-0005Eu-00 for ; Fri, 23 Jul 2010 12:32:35 +0200 Original-Received: from [134.76.4.238] (helo=imac.local) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OcFYP-0008T3-Jg for ding@gnus.org; Fri, 23 Jul 2010 12:32:33 +0200 In-Reply-To: (Daiki Ueno's message of "Fri, 23 Jul 2010 17:53:16 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69824 Archived-At: Daiki Ueno writes: > David Engster writes: >> Does anyone see a problem with this patch? > > I admittedly have not tested it yet, but: > >> --- mml-smime.el.~7.23.~ 2008-05-19 10:47:42.000000000 +0200 >> +++ mml-smime.el 2008-09-17 11:56:12.000000000 +0200 >> @@ -520,10 +520,14 @@ >> ctl 'protocol) >> "application/pkcs7-signature") > > ^^ this line should also be changed to accept "x-pkcs7-signature"? The full sexp is this: (setq part (mm-find-raw-part-by-type ctl (or (mm-handle-multipart-ctl-parameter ctl 'protocol) "application/pkcs7-signature") t))) So I thought this would just be used as a fallback? BTW, since I'm slowly migrating from openssl to gpgsm and therefore GnuPG v2, I hope you don't mind me hijacking this thread and asking some further questions regarding EPG. I have an encrypted authinfo.gpg file, containing several different credentials for different servers. Since gpgsm requires me to use gpg-agent, decrypting authinfo.gpg at startup is now handled using the agent, since EPG will automatically detect that there's one running. Without the agent and GnuPG v1, I was only asked once at start-up for the password (using epa-file-cache-passphrase-for-symmetric-encryption), now I get queried for each server I might(!) need credentials for. Is there some way to avoid that? I know I could somehow use public key encryption for this, but to me this seems a bit excessive for such a small task. I'd already be happy if I could get EPG to just use gpgv1 without the agent for encrypted files, but it seems this is not possible? Also, do you know of any way to let Emacs communicate with one of gpg-agent's pinentry programs? I found a message from you regarding that issue from '08, so I wonder if you made any progress on that front. Regards, David