unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: 40118@debbugs.gnu.org
Subject: bug#40118: 27.0.90; Signing emails with gpg
Date: Tue, 14 Apr 2020 13:10:50 +0200	[thread overview]
Message-ID: <87d08a9vb9.fsf@gmail.com> (raw)
In-Reply-To: <87tv2lhg2p.fsf@skimble.plus.com> (Sharon Kimble's message of "Wed, 18 Mar 2020 14:51:10 +0000")

On Wed, 18 Mar 2020 14:51:10 +0000
Sharon Kimble wrote:

> When I have -
>   --8<---------------cut here---------------start------------->8---
> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign)
> (add-hook 'message-setup-hook 'mml-secure-message-sign)
>
> enabled in emacs26.3 up pops a pinentry box and I input my code and the message sends.
>
> However in 27.0.90 I get this crash report -
>
> Debugger entered--Lisp error: (error "Couldn’t find any signer names; try setting `mml-s...")
>   signal(error ("Couldn’t find any signer names; try setting `mml-s..."))
>   error("Couldn't find any signer names%s" "; try setting `mml-secure-smime-sign-with-sender'.")
>   mml-secure-epg-sign(OpenPGP t)
>   mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 297) (contents . "\ntesting 1\n  \n-- \nA taste of linux = http://www.sh...")))
>   mml2015-sign((part (sign . "pgpmime") (tag-location . 297) (contents . "\ntesting 1\n  \n-- \nA taste of linux = http://www.sh...")))
>   mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 297) (contents . "\ntesting 1\n  \n-- \nA taste of linux = http://www.sh...")))
>   mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 297) (contents . "\ntesting 1\n  \n-- \nA taste of linux = http://www.sh...")))
>   mml-generate-mime(nil nil)
>   message-encode-message-body()
>   message-send-mail(nil)
>   message-send-via-mail(nil)
>   message-send(nil)
>   message-send-and-exit(nil)
>   funcall-interactively(message-send-and-exit nil)
>   call-interactively(message-send-and-exit)
>   orgtbl-ctrl-c-ctrl-c(nil)
>   funcall-interactively(orgtbl-ctrl-c-ctrl-c nil)
>   call-interactively(orgtbl-ctrl-c-ctrl-c nil nil)
>   command-execute(orgtbl-ctrl-c-ctrl-c)
>   --8<---------------cut here---------------end--------------->8---
>     
> And when looking through the pdf's I built after installing 27.0.90 I can't find how to set 'mml-secure-smime-sign-with-sender''
>
> How can I return to the behaviour of 26.3, but still use 27.0.90, as
> the only way that I can now send emails is by disabling the 2 lines I
> showed earlier.

You can set `mml-secure-smime-sign-with-sender' (or any other option)
using the command `customize-variable' or simply putting

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

into your init file.

Alternatively, you could set `mm-sign-option' to `guided', then you
should get a menu to select a key, instead of the error (which is
arguably a strange default behaviour).

-- 
Štěpán





  reply	other threads:[~2020-04-14 11:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 14:51 bug#40118: 27.0.90; Signing emails with gpg Sharon Kimble
2020-04-14 11:10 ` Štěpán Němec [this message]
2020-04-15 16:37   ` Robert Pluim
2020-04-15 16:45     ` Eli Zaretskii
2020-04-16  9:44       ` Robert Pluim
2020-04-16 10:15         ` Eli Zaretskii
2020-04-16 10:38           ` Robert Pluim
2020-04-17 15:11             ` Robert Pluim
2020-04-20 10:52               ` Robert Pluim
2020-04-20 16:24                 ` Eli Zaretskii
2020-04-20 16:58                   ` Robert Pluim
2020-04-30  4:33             ` Lars Ingebrigtsen
2020-04-30  7:37               ` Robert Pluim
2020-04-30 22:03                 ` Lars Ingebrigtsen
2020-05-05 12:46                   ` Robert Pluim
2020-05-05 15:06                     ` Eli Zaretskii
2020-05-05 15:23                       ` Robert Pluim
2020-05-05 16:07                         ` Eli Zaretskii
2020-09-30 14:57                         ` Lars Ingebrigtsen
2020-09-30 16:44                           ` Robert Pluim
2020-10-01  0:16                             ` Lars Ingebrigtsen
2020-10-01 17:41                               ` Robert Pluim
2020-10-01 17:43                                 ` Lars Ingebrigtsen
2020-10-02  8:49                                   ` Robert Pluim

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d08a9vb9.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=40118@debbugs.gnu.org \
    --cc=boudiccas@skimble.plus.com \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).