From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68571 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: Encrypt gcc copy with own key Date: Thu, 28 May 2009 20:02:31 +0900 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 1243508619 20516 80.91.229.12 (28 May 2009 11:03:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2009 11:03:39 +0000 (UTC) Cc: ding@gnus.org To: Michael Sperber Original-X-From: ding-owner+M17002@lists.math.uh.edu Thu May 28 13:03:35 2009 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 1M9dOY-0001S6-RM for ding-account@gmane.org; Thu, 28 May 2009 13:03:35 +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 1M9dOF-0003Eu-Ex; Thu, 28 May 2009 06:03:15 -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 1M9dOD-0003Eb-Cz for ding@lists.math.uh.edu; Thu, 28 May 2009 06:03:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1M9dO7-00069m-3J for ding@lists.math.uh.edu; Thu, 28 May 2009 06:03:13 -0500 Original-Received: from mail-pz0-f171.google.com ([209.85.222.171]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1M9dOa-0005RR-00 for ; Thu, 28 May 2009 13:03:36 +0200 Original-Received: by pzk1 with SMTP id 1so2534303pzk.25 for ; Thu, 28 May 2009 04:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=aq1aj+j6rX7cDpD4t/oTqGGog8NKfEhcQEcMTyMcr9I=; b=USlnZJB+gVgxpLEeMDzBRUluJGhIiUFniD2HK+DHjdrMtAiSFKqgCkMJkYIFaB7BuR EoDLe6ZVOKPNWLqMMvXbnLrf2itZVCfmeF+VDBoVsevs35k2w5LJhsBLp2EEnx5KmFQW gPtz423vt/o0XtaLjw3hI7VhGJ5FOFlgBEbTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=O/V/feLtP5GHbhFwTCmhoqLHPR+BsZMZSnfdnaBSl9A5GjaVNrHAR10xGYIC57/dr2 Sada5D1k5qWoxB4REAOo4KeXra1hDniyCL8rhMZ0cGC8B/iS+CjGud5oiuXku+0s/nxI 4yctiHkpYBk/mFGsOBgM8KGRyotbI1pPHWj3E= Original-Received: by 10.142.191.5 with SMTP id o5mr344892wff.96.1243508554535; Thu, 28 May 2009 04:02:34 -0700 (PDT) Original-Received: from chilled (221x255x76x222.ap221.ftth.ucom.ne.jp [221.255.76.222]) by mx.google.com with ESMTPS id 28sm2139764wfd.3.2009.05.28.04.02.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 May 2009 04:02:33 -0700 (PDT) In-Reply-To: (Michael Sperber's message of "Thu, 28 May 2009 12:39:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68571 Archived-At: >>>>> In >>>>> Michael Sperber wrote: > > Try "encrypt-to " instead of "default-recipient-self". > Doesn't work for me It works for me. > tracing through the code, I'd suggest you to try it from the command line before looking into the Lisp code. I.e. $ gpg --encrypt-to sperber@deinprogramm.de -e -r foo@example.com test.txt $ gpg < test.txt.gpg > I see that the recipient key (i.e. not mine) is *explicitly* used for > archiving the Gcc copy. The key is propagated from one invocation of > `mml2015-epg-encrypt' to the next via the `mml2015-epg-recipients' > message option. Yes, that is correct behavior. "encrypt-to sperber@deinprogramm.de" in gpg.conf makes your address an *additional* recipient for all the outgoing messages, while "default-recipent-self" doesn't. Regards, -- Daiki Ueno