From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8481 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.user Subject: Re: A few questions on signing/encrypting emails Date: Fri, 05 Jan 2007 15:01:09 +0900 Message-ID: <871wmaf1wa.fsf@broken.deisui.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167976902 27420 80.91.229.12 (5 Jan 2007 06:01:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Jan 2007 06:01:42 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jan 05 07:01:35 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2i8r-0007xa-Hj for gegu-info-gnus-english@m.gmane.org; Fri, 05 Jan 2007 07:01:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2i8q-00017J-Sa for gegu-info-gnus-english@m.gmane.org; Fri, 05 Jan 2007 01:01:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2i8m-000166-8Q for info-gnus-english@gnu.org; Fri, 05 Jan 2007 01:01:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2i8k-00014u-1M for info-gnus-english@gnu.org; Fri, 05 Jan 2007 01:01:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2i8j-00014b-MY for info-gnus-english@gnu.org; Fri, 05 Jan 2007 01:01:17 -0500 Original-Received: from [66.249.82.230] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H2i8j-00050a-4D for info-gnus-english@gnu.org; Fri, 05 Jan 2007 01:01:17 -0500 Original-Received: by wx-out-0506.google.com with SMTP id s17so7638148wxc for ; Thu, 04 Jan 2007 22:01:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:references:user-agent:cancel-lock:date:in-reply-to:message-id:mime-version:content-type:sender; b=AaOt/EqfsDsk2kITqmtUpzaCAbGLkpxXAttqZHrB5rmCKuX7Zsi0vC0RO63/fy+oQuzspb/SbvapMeLVAelPMLRvnglLL7B7ZxvE5CyXFabX3tVoNfljzUv78ALChu/UJR3hleAY8w7waqZ4miXatjCdr3KVSpJDzMHKd6DXsxw= Original-Received: by 10.70.109.12 with SMTP id h12mr27112258wxc.1167976876356; Thu, 04 Jan 2007 22:01:16 -0800 (PST) Original-Received: from p360 ( [150.82.173.223]) by mx.google.com with ESMTP id 38sm60964585wrl.2007.01.04.22.01.13; Thu, 04 Jan 2007 22:01:15 -0800 (PST) Original-To: info-gnus-english@gnu.org, Leo User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:D/t4XujAnsfgix5DgEGJ7K/i06k= In-Reply-To: (Leo's message of "Tue\, 12 Dec 2006 16\:27\:02 +0000") X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8481 Archived-At: Sorry for late response. I missed this article. >>>>> In >>>>> Leo wrote: > I have few questions: > o When signing an email, my private key will be used, right? > And I could encrypt an email with just the recipient's pub > key. But when I send an encrypted email, I will also be > prompted to input passphrase. Does this mean signing is > automatically done? Yes. (message)Signing and encryption By default, when encrypting a message, Gnus will use the "signencrypt" mode, which means the message is both signed and encrypted. > o What is the simplest way to handle multiple personal keys? I > created two keys. One for work and one for anything > else. But when I signed an email, only the one indicated by > pgg-default-user-id is used. That's one of the major limitations of PGG. Even you could set multiple personal keys by a new variable, you will see that you cannot supply your passphrase multiple times without gpg-agent. However, No Gnus (the development version of Gnus) supports that case. You can set mml2015-signers. > o When I try to encrypt an email to a recipient whose pub key > is not in my pub-key-ring, I will get an error > (wrong-type-argument epg-key-p nil) (full backtrace > attached). How to set up gnus to import the pubkey from > key-server? Try adding the following lines to ~/.gnupg/options auto-key-locate keyserver keyserver Anyway, the error message is confusing. I've changed it more intuitive. http://cvs.m17n.org/viewcvs/root/epg/pgg-epg.el?r1=1.28&r2=1.29 Regards, -- Daiki Ueno