all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Phillip Lord <phillip.lord@russet.org.uk>
Cc: help-gnu-emacs@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: How to get a pinentry box to digitally sign all emails
Date: Wed, 22 Apr 2020 20:03:47 +0200	[thread overview]
Message-ID: <m2tv1b75z0.fsf@gmail.com> (raw)
In-Reply-To: <875zdrzaeo.fsf@russet.org.uk> (Phillip Lord's message of "Wed, 22 Apr 2020 18:40:31 +0100")

>>>>> On Wed, 22 Apr 2020 18:40:31 +0100, Phillip Lord <phillip.lord@russet.org.uk> said:

    Phillip> It seems to be the logic associated with finding the signing key.

    Phillip> Setting:

    Phillip> (setq mm-sign-option 'guided)

    Phillip> lets the whole thing work, but you have to use the dialog (which has a
    Phillip> truely horrible UI) that pops up and tell it to use the default key
    Phillip> everytime.

    Phillip> I tried to debug this, but for no reason that I can fathom edebug seems
    Phillip> to fail on the key (pun!) functions.

My mind must be twisted, the code seems obvious enough :-)

Either

(setq mml-secure-openpgp-sign-with-sender t
      mml-secure-smime-sign-with-sender t)

Then the sender of the message will be used to select the signing key automatically.

Or (untested)

(setq mml-secure-openpgp-signers "<phillip.lord@russet.org.ok>"
      mml-secure-smime-signers "<phillip.lord@russet.org.ok>")

(obviously you donʼt need to set both the openpgp and smime variants
if youʼre only using one).

Allegedly you can use Key IDs rather than email addresses.

    Phillip> Robert, Sharon could you try the "mm-sign-option". I am curious to see
    Phillip> if this is the same bug.

Yes, it is. I donʼt set mm-sign-option, I use
mml-secure-openpgp-sign-with-sender.

Robert



      reply	other threads:[~2020-04-22 18:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 14:35 How to get a pinentry box to digitally sign all emails Sharon Kimble
2020-04-15 14:55 ` Robert Pluim
2020-04-15 17:26   ` Sharon Kimble
2020-04-16  9:10     ` Robert Pluim
2020-04-16 12:59       ` Sharon Kimble
2020-04-16 13:23         ` Robert Pluim
2020-04-16 13:27         ` Sharon Kimble
2020-04-16 14:30           ` Robert Pluim
2020-04-16 15:36             ` [SOLVED] " Sharon Kimble
2020-04-16 16:05               ` Robert Pluim
2020-04-15 16:26 ` Stefan Monnier
2020-04-15 16:39   ` Robert Pluim
2020-04-15 17:28     ` Sharon Kimble
2020-04-16  8:23       ` Robert Pluim
2020-04-22 17:40   ` Phillip Lord
2020-04-22 18:03     ` Robert Pluim [this message]

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=m2tv1b75z0.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=phillip.lord@russet.org.uk \
    /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.