all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hikaru Ichijyo <ichijyo@macross.sdf.jp>
To: help-gnu-emacs@gnu.org
Subject: selection of GPG key in Gnus
Date: Mon, 09 Jan 2017 22:45:49 -0600	[thread overview]
Message-ID: <8xxr34bjzeq.fsf@village.keycorner.org> (raw)

This is a Gnus question, but I've already asked in gnu.emacs.gnus.
Then, I noticed that no one has had a question answered in that group
for three months.  There are probably some people here who use Gnus.

I'd like to have selection of a default GPG key to use for signing and
encrypting to happen automatically depending on the group I'm in.  I'd
also like to be able to sign by default (using the correct key) in most
mail groups, and never sign/encrypt at all in newsgroups.

Basically, what I'd like is some sort of gnus-posting-styles mechanism
to control PGP behavior...or at the very least, something in the group's
customize menu.

The more I search online, the more I've gotten the impression Gnus can't
do anything like that.

I did find a message from over ten years ago that mentioned using
gnus-posting-styles to specify a X-PGP header for a group that selected
the right key.  That sounds great...but does that really work?  Is it
supposed to work, or would that qualify as a "dumb hack" (which may not
be reliable)?  Does Gnus actually invoke GPG in response to such
user-inserted SMTP headers?  I never saw any other source of information
on that.

Since Gnus aims to be a single message post/reply facility for regular
mail, mailing lists, Usenet newsgroups, Gmane style BBS's, etc...it
doesn't seem right that it would want you to have a one-size-fits-all
setting for your PGP behavior everywhere, does it?

-- 
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
					--Thomas Paine


             reply	other threads:[~2017-01-10  4:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-10  4:45 Hikaru Ichijyo [this message]
2017-01-10 14:58 ` selection of GPG key in Gnus Teemu Likonen

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=8xxr34bjzeq.fsf@village.keycorner.org \
    --to=ichijyo@macross.sdf.jp \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.