Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
Subject: Re: A few questions on signing/encrypting emails
Date: Fri, 05 Jan 2007 15:01:09 +0900	[thread overview]
Message-ID: <871wmaf1wa.fsf@broken.deisui.org> (raw)
In-Reply-To: <m2y7pdyt9l.fsf@sl392.st-edmunds.cam.ac.uk> (Leo's message of "Tue\, 12 Dec 2006 16\:27\:02 +0000")

Sorry for late response.  I missed this article.

>>>>> In <m2y7pdyt9l.fsf@sl392.st-edmunds.cam.ac.uk> 
>>>>>	Leo <sdl.web@gmail.com> 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 <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

  reply	other threads:[~2007-01-05  6:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 16:27 Leo
2007-01-05  6:01 ` Daiki Ueno [this message]
2007-01-05  6:08   ` Leo
2007-01-10 17:33   ` Leo
2007-01-11  1:01     ` Daiki Ueno
2007-01-11  2:33       ` Leo
2007-01-11  3:53         ` Daiki Ueno
2007-01-11  9:15           ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wmaf1wa.fsf@broken.deisui.org \
    --to=ueno@unixuser.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).