* How to get a pinentry box to digitally sign all emails
@ 2020-04-15 14:35 Sharon Kimble
2020-04-15 14:55 ` Robert Pluim
2020-04-15 16:26 ` Stefan Monnier
0 siblings, 2 replies; 16+ messages in thread
From: Sharon Kimble @ 2020-04-15 14:35 UTC (permalink / raw)
To: help-gnu-emacs
One of the things that I really miss in emacs-27 is the inability to be
able to digitally sign all my emails just before they are sent.
Back in emacs-26 I had this code which called the pinentry box
--8<---------------cut here---------------start------------->8---
(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
--8<---------------cut here---------------end--------------->8---
But with emacs-27 that same code brings this response
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Couldn’t find any signer names.")
signal(error ("Couldn’t find any signer names."))
error("Couldn't find any signer names%s" ".")
mml-secure-epg-sign(OpenPGP clear)
mml1991-epg-sign((part (sign . "pgp") (tag-location . 292) (contents . "\n-- \nA taste of linux = http://www.sharons.org.uk\n...")))
mml1991-sign((part (sign . "pgp") (tag-location . 292) (contents . "\n-- \nA taste of linux = http://www.sharons.org.uk\n...")))
mml-pgp-sign-buffer((part (sign . "pgp") (tag-location . 292) (contents . "\n-- \nA taste of linux = http://www.sharons.org.uk\n...")))
mml-generate-mime-1((part (sign . "pgp") (tag-location . 292) (contents . "\n-- \nA taste of linux = http://www.sharons.org.uk\n...")))
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---
So how do I call the pinentry box in emacs-27 please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
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-15 16:26 ` Stefan Monnier
1 sibling, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2020-04-15 14:55 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
>>>>> On Wed, 15 Apr 2020 15:35:43 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
Sharon> One of the things that I really miss in emacs-27 is the inability to be
Sharon> able to digitally sign all my emails just before they are sent.
Sharon> Back in emacs-26 I had this code which called the pinentry box
Sharon> --8<---------------cut here---------------start------------->8---
Sharon> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> (add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> --8<---------------cut here---------------end--------------->8---
Sharon> But with emacs-27 that same code brings this response
Sharon> --8<---------------cut here---------------start------------->8---
Sharon> Debugger entered--Lisp error: (error "Couldn’t find any signer names.")
Thatʼs not a very helpful error message. Does setting
mml-secure-openpgp-sign-with-sender to t help?
Robert
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEq83Vx/IYGRGbZc3zPXrkx5EPYUAFAl6XIHIRHHJwbHVpbUBn
bWFpbC5jb20ACgkQPXrkx5EPYUCHjg//d93eFTK3oWux5nhr7bQn5HhyQHqucE8+
LJ8AqO3wBPw9AiroHDq37zw5I8AQBVVcdc2xBESzyK6S/6m6C/3Jtf/VbdNS/URM
3gHzAzbOExEl0+kkWUY6LnaKrJbAF06vMX8IbQ7Iz653aUA1FtfIVKIt5fK4XIEA
6NhQWmwFutITCgpEa3u3NBDWkMuR+oW+blu4AeJjEKnHxoFvUbv2hn2vTqsvnx57
KdQ0MG2gRwXadE04PdjVWym00UnICZMtB7lqfedRF05gPNX6R1/l8/AoKxnjJS5u
F3oDTnlw/ltZ/zU5B6SfX3qD/4KofQcZf8P5hcQcaZbUchnXW630OMFTuTWXgmaZ
b2E2lSch2rHoZEBdTFRtvPTvan2X9o6UCKjl3vhtU6mUEK4SQ9xucGh4nkCD+mPK
hVieuFeF+4v51bTnmtMhJTAFW8evrEDc7MHuJkVU/QQdfggk1n8wg+esY4KkqnPs
+wzbRTSp5Il0Gsc456R2ll+yje2kNM+gnE1+LPS+v/OcTuB5oUj314oNBwTJnHcD
K/q+/GIXafhyMuzCMbNRJj+y9xlYcExb0K7mk1d+vzuY+NRF7lUvJGGerp895zqB
O+S235O1USWHZleTqAikn8ezXcQB9+0OsKFMrzpDeLon6ZbyUR607hudzuXUbM19
Aov7AZagZ7I=
=ZhTA
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 14:55 ` Robert Pluim
@ 2020-04-15 17:26 ` Sharon Kimble
2020-04-16 9:10 ` Robert Pluim
0 siblings, 1 reply; 16+ messages in thread
From: Sharon Kimble @ 2020-04-15 17:26 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Wed, 15 Apr 2020 15:35:43 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
>
> Sharon> One of the things that I really miss in emacs-27 is the inability to be
> Sharon> able to digitally sign all my emails just before they are sent.
>
> Sharon> Back in emacs-26 I had this code which called the pinentry box
>
> Sharon> --8<---------------cut here---------------start------------->8---
> Sharon> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
> Sharon> (add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
> Sharon> --8<---------------cut here---------------end--------------->8---
>
> Sharon> But with emacs-27 that same code brings this response
>
> Sharon> --8<---------------cut here---------------start------------->8---
> Sharon> Debugger entered--Lisp error: (error "Couldn’t find any signer names.")
>
>
> Thatʼs not a very helpful error message. Does setting
> mml-secure-openpgp-sign-with-sender to t help?
>
Thanks for replying Robert.
I have placed '(setq mml-secure-openpgp-sign-with-sender t)' in my conf
file, and its made no difference, still no pinentry box and still not
being signed, unfortunately.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 17:26 ` Sharon Kimble
@ 2020-04-16 9:10 ` Robert Pluim
2020-04-16 12:59 ` Sharon Kimble
0 siblings, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2020-04-16 9:10 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs
>>>>> On Wed, 15 Apr 2020 18:26:35 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
Sharon> Thanks for replying Robert.
Sharon> I have placed '(setq mml-secure-openpgp-sign-with-sender t)' in my conf
Sharon> file, and its made no difference, still no pinentry box and still not
Sharon> being signed, unfortunately.
I assume youʼre getting a different error now?
Do you have a setting for epg-pinentry-mode? If not, does it help to
do either:
(setq epg-pinentry-mode 'ask)
or
(setq epg-pinentry-mode 'loopback)
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
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
0 siblings, 2 replies; 16+ messages in thread
From: Sharon Kimble @ 2020-04-16 12:59 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Wed, 15 Apr 2020 18:26:35 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
>
> Sharon> Thanks for replying Robert.
>
> Sharon> I have placed '(setq mml-secure-openpgp-sign-with-sender t)' in my conf
> Sharon> file, and its made no difference, still no pinentry box and still not
> Sharon> being signed, unfortunately.
>
> I assume youʼre getting a different error now?
>
> Do you have a setting for epg-pinentry-mode? If not, does it help to
> do either:
>
> (setq epg-pinentry-mode 'ask)
>
> or
>
> (setq epg-pinentry-mode 'loopback)
>
Thanks for replying Robert.
This is what my conf file is showing for signing emails at the moment.
--8<---------------cut here---------------start------------->8---
;; auto-sign all mail
;;(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
;;(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
(setq mml-secure-openpgp-sign-with-sender t
;; mml-secure-message-sign-pgp t
mml-secure-smime-sign-with-sender t)
(setq epg-pinentry-mode 'ask)
--8<---------------cut here---------------end--------------->8---
And just to check, I have 'pinentry-gnome3' installed, but I have just
installed all 'pinentry-*' packages.
So lets see what happens now then!?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-16 12:59 ` Sharon Kimble
@ 2020-04-16 13:23 ` Robert Pluim
2020-04-16 13:27 ` Sharon Kimble
1 sibling, 0 replies; 16+ messages in thread
From: Robert Pluim @ 2020-04-16 13:23 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs
>>>>> On Thu, 16 Apr 2020 13:59:11 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
Sharon> Thanks for replying Robert.
Sharon> This is what my conf file is showing for signing emails at the moment.
Sharon> --8<---------------cut here---------------start------------->8---
Sharon> ;; auto-sign all mail
Sharon> ;;(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> ;;(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> (setq mml-secure-openpgp-sign-with-sender t
Sharon> ;; mml-secure-message-sign-pgp t
Sharon> mml-secure-smime-sign-with-sender t)
Sharon> (setq epg-pinentry-mode 'ask)
Sharon> --8<---------------cut here---------------end--------------->8---
Sharon> And just to check, I have 'pinentry-gnome3' installed, but I have just
Sharon> installed all 'pinentry-*' packages.
Sharon> So lets see what happens now then!?
Since you donʼt have mml-secure-message-sign-pgp on your message setup
hooks anymore, I presume youʼre going to call it by hand? Itʼs bound
to 'C-c RET s o' by default.
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
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
1 sibling, 1 reply; 16+ messages in thread
From: Sharon Kimble @ 2020-04-16 13:27 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> Robert Pluim <rpluim@gmail.com> writes:
>
>>>>>>> On Wed, 15 Apr 2020 18:26:35 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
>>
>> Sharon> Thanks for replying Robert.
>>
>> Sharon> I have placed '(setq mml-secure-openpgp-sign-with-sender t)' in my conf
>> Sharon> file, and its made no difference, still no pinentry box and still not
>> Sharon> being signed, unfortunately.
>>
>> I assume youʼre getting a different error now?
>>
>> Do you have a setting for epg-pinentry-mode? If not, does it help to
>> do either:
>>
>> (setq epg-pinentry-mode 'ask)
>>
>> or
>>
>> (setq epg-pinentry-mode 'loopback)
>>
> Thanks for replying Robert.
>
> This is what my conf file is showing for signing emails at the moment.
>
> --8<---------------cut here---------------start------------->8---
> ;; auto-sign all mail
> ;;(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
> ;;(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
> (setq mml-secure-openpgp-sign-with-sender t
> ;; mml-secure-message-sign-pgp t
> mml-secure-smime-sign-with-sender t)
> (setq epg-pinentry-mode 'ask)
> --8<---------------cut here---------------end--------------->8---
>
> And just to check, I have 'pinentry-gnome3' installed, but I have just
> installed all 'pinentry-*' packages.
>
> So lets see what happens now then!?
>
And after rebooting I'm still unable to get the pinentry box popping up,
although this one will be signed because I've manually inserted
'<#secure method=pgpmime mode=sign>' at the heading off the mail. but
how can I get it appearing automatically without me having to manually
click it in the menus?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-16 13:27 ` Sharon Kimble
@ 2020-04-16 14:30 ` Robert Pluim
2020-04-16 15:36 ` [SOLVED] " Sharon Kimble
0 siblings, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2020-04-16 14:30 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs
>>>>> On Thu, 16 Apr 2020 14:27:40 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
>> --8<---------------cut here---------------start------------->8---
>> ;; auto-sign all mail
>> ;;(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
>> ;;(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
>> (setq mml-secure-openpgp-sign-with-sender t
>> ;; mml-secure-message-sign-pgp t
>> mml-secure-smime-sign-with-sender t)
>> (setq epg-pinentry-mode 'ask)
>> --8<---------------cut here---------------end--------------->8---
>>
>> And just to check, I have 'pinentry-gnome3' installed, but I have just
>> installed all 'pinentry-*' packages.
>>
>> So lets see what happens now then!?
>>
Sharon> And after rebooting I'm still unable to get the pinentry box popping up,
Sharon> although this one will be signed because I've manually inserted
Sharon> '<#secure method=pgpmime mode=sign>' at the heading off the mail. but
Sharon> how can I get it appearing automatically without me having to manually
Sharon> click it in the menus?
Remove the ';;' from your two add-hook commands above (and either
evaluate .emacs or restart emacs).
If youʼre not getting a pinentry box from emacs, but you are getting
one from other programs, itʼs possible that gpg has decided to cache
an earlier answer. You can control that with the 'default-cache-ttl'
and 'max-cache-ttl' settings in ~/.gnupg/gpg-agent.conf (and I donʼt
remember offhand if such changes are dynamic).
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* [SOLVED] Re: How to get a pinentry box to digitally sign all emails
2020-04-16 14:30 ` Robert Pluim
@ 2020-04-16 15:36 ` Sharon Kimble
2020-04-16 16:05 ` Robert Pluim
0 siblings, 1 reply; 16+ messages in thread
From: Sharon Kimble @ 2020-04-16 15:36 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Thu, 16 Apr 2020 14:27:40 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
> >> --8<---------------cut here---------------start------------->8---
> >> ;; auto-sign all mail
> >> ;;(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
> >> ;;(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
> >> (setq mml-secure-openpgp-sign-with-sender t
> >> ;; mml-secure-message-sign-pgp t
> >> mml-secure-smime-sign-with-sender t)
> >> (setq epg-pinentry-mode 'ask)
> >> --8<---------------cut here---------------end--------------->8---
> >>
> >> And just to check, I have 'pinentry-gnome3' installed, but I have just
> >> installed all 'pinentry-*' packages.
> >>
> >> So lets see what happens now then!?
> >>
>
> Sharon> And after rebooting I'm still unable to get the pinentry box popping up,
> Sharon> although this one will be signed because I've manually inserted
> Sharon> '<#secure method=pgpmime mode=sign>' at the heading off the mail. but
> Sharon> how can I get it appearing automatically without me having to manually
> Sharon> click it in the menus?
>
> Remove the ';;' from your two add-hook commands above (and either
> evaluate .emacs or restart emacs).
>
> If youʼre not getting a pinentry box from emacs, but you are getting
> one from other programs, itʼs possible that gpg has decided to cache
> an earlier answer. You can control that with the 'default-cache-ttl'
> and 'max-cache-ttl' settings in ~/.gnupg/gpg-agent.conf (and I donʼt
> remember offhand if such changes are dynamic).
>
Thanks for replying Robert.
Bingo! Its now working as it did in emacs26, and for the benefit of the
archives, this is what is in my conf file.
--8<---------------cut here---------------start------------->8---
;; auto-sign all mail
(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
(setq mml-secure-openpgp-sign-with-sender t
mml-secure-message-sign-pgp t
mml-secure-smime-sign-with-sender t)
(setq epg-pinentry-mode 'ask)
--8<---------------cut here---------------end--------------->8---
Thanks for being so persistent Robert, and for the final solution.
Magic!!!
Thanks
Sharon.
- --
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl6Ye4YbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbnNEP/1Eub7Tc2R/X/s9S/ixu
Mba/pxdphPMoCHhFC6S2nefPS6TYtVbWI1iWgAozTh3ybkdFNYluXe8VhZiZgugx
YYWL2x3rompL9sFGRMpj+zOVM1rViXK3cP93YRi2WGditbGvVjbnOnS+Im+IN1fx
Thx3YjAzwVpX2oEZwReNLBXnM2fOtPeTJYKJ3MWkvGYJpmFVn5tutnnk3gMHtRc9
L1TUl852x6depjXd7XuMYyDem+F5cVXu5cBDOFEEzVWQ4aafk32Us2uQinwln744
l3qmiNv/nVrdpbUjfwsap0BTDIjnZOyzHpKkCfASUMv3xVBgurIrB8UYEu5lkQW7
IShdGaF6i+ZRw1fLWL0YE3YvRmNtZNDZ1q3OtME5rcKfUw6x1+Inei7zLMHeCoYn
bBtyb8ovQnWf+U5iF9+xYhdmLh3ZvvgHo4YrzfnAxw9OnN9uElITvdkywHYDpyd/
BRM3ZUUyveGQSZYh+kn3UYJ/x835TKTiKPI+9NFPRAJr1auVBHYrGjhfjT1oTt/w
DrGtBN2CQlpY9CoQ5eN9HX3yK1wAXdsRc9a3CUTJwRJdJVKQc5bHaTutpUQpqFW0
HacwpDQ09ZUZDLHYUUIJxpMhABpWFsH9IOMjkdYKMCFplvxOkU++US0bTxuhGV6L
Jqj4CxNz4yAkvs5zQLQoPQnf
=UZMM
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [SOLVED] Re: How to get a pinentry box to digitally sign all emails
2020-04-16 15:36 ` [SOLVED] " Sharon Kimble
@ 2020-04-16 16:05 ` Robert Pluim
0 siblings, 0 replies; 16+ messages in thread
From: Robert Pluim @ 2020-04-16 16:05 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs
>>>>> On Thu, 16 Apr 2020 16:36:38 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
Sharon> Bingo! Its now working as it did in emacs26, and for the benefit of the
Sharon> archives, this is what is in my conf file.
Sharon> --8<---------------cut here---------------start------------->8---
Sharon> ;; auto-sign all mail
Sharon> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> (add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
Sharon> (setq mml-secure-openpgp-sign-with-sender t
Sharon> mml-secure-message-sign-pgp t
Sharon> mml-secure-smime-sign-with-sender t)
Sharon> (setq epg-pinentry-mode 'ask)
Sharon> --8<---------------cut here---------------end--------------->8---
Sharon> Thanks for being so persistent Robert, and for the final solution.
Sharon> Magic!!!
Youʼre welcome. Iʼll work on getting the defaults in emacs-27 better
for this kind of common usage.
Ribert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
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 16:26 ` Stefan Monnier
2020-04-15 16:39 ` Robert Pluim
2020-04-22 17:40 ` Phillip Lord
1 sibling, 2 replies; 16+ messages in thread
From: Stefan Monnier @ 2020-04-15 16:26 UTC (permalink / raw)
To: help-gnu-emacs
> One of the things that I really miss in emacs-27 is the inability to be
> able to digitally sign all my emails just before they are sent.
Then please `M-x report-emacs-bug` so we get a chance to fix it before the release!
Stefan
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 16:26 ` Stefan Monnier
@ 2020-04-15 16:39 ` Robert Pluim
2020-04-15 17:28 ` Sharon Kimble
2020-04-22 17:40 ` Phillip Lord
1 sibling, 1 reply; 16+ messages in thread
From: Robert Pluim @ 2020-04-15 16:39 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs, Sharon Kimble
>>>>> On Wed, 15 Apr 2020 12:26:45 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>> One of the things that I really miss in emacs-27 is the inability to be
>> able to digitally sign all my emails just before they are sent.
Stefan> Then please `M-x report-emacs-bug` so we get a chance to fix it before the release!
It was already reported by Sharon as Bug#40118. Iʼve responded there
(in an opinionated fashion :-) )
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 16:39 ` Robert Pluim
@ 2020-04-15 17:28 ` Sharon Kimble
2020-04-16 8:23 ` Robert Pluim
0 siblings, 1 reply; 16+ messages in thread
From: Sharon Kimble @ 2020-04-15 17:28 UTC (permalink / raw)
To: Robert Pluim; +Cc: help-gnu-emacs, Stefan Monnier
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Wed, 15 Apr 2020 12:26:45 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>
> >> One of the things that I really miss in emacs-27 is the inability to be
> >> able to digitally sign all my emails just before they are sent.
>
> Stefan> Then please `M-x report-emacs-bug` so we get a chance to fix it before the release!
>
> It was already reported by Sharon as Bug#40118. Iʼve responded there
> (in an opinionated fashion :-) )
>
Thanks for replying Robert.
Where have you replied please as I know that I sent the bug-report but I
don't know where its gone nor what's happened with it.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 17:28 ` Sharon Kimble
@ 2020-04-16 8:23 ` Robert Pluim
0 siblings, 0 replies; 16+ messages in thread
From: Robert Pluim @ 2020-04-16 8:23 UTC (permalink / raw)
To: Sharon Kimble; +Cc: help-gnu-emacs, Stefan Monnier
>>>>> On Wed, 15 Apr 2020 18:28:45 +0100, Sharon Kimble <boudiccas@skimble.plus.com> said:
Sharon> Robert Pluim <rpluim@gmail.com> writes:
>>>>>>> On Wed, 15 Apr 2020 12:26:45 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>>
>> >> One of the things that I really miss in emacs-27 is the inability to be
>> >> able to digitally sign all my emails just before they are sent.
>>
Stefan> Then please `M-x report-emacs-bug` so we get a chance to fix it before the release!
>>
>> It was already reported by Sharon as Bug#40118. Iʼve responded there
>> (in an opinionated fashion :-) )
>>
Sharon> Thanks for replying Robert.
Sharon> Where have you replied please as I know that I sent the bug-report but I
Sharon> don't know where its gone nor what's happened with it.
I think I cc'd you, but in any case all the messages for that bug can
be found at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40118>
Robert
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-15 16:26 ` Stefan Monnier
2020-04-15 16:39 ` Robert Pluim
@ 2020-04-22 17:40 ` Phillip Lord
2020-04-22 18:03 ` Robert Pluim
1 sibling, 1 reply; 16+ messages in thread
From: Phillip Lord @ 2020-04-22 17:40 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> One of the things that I really miss in emacs-27 is the inability to be
>> able to digitally sign all my emails just before they are sent.
>
> Then please `M-x report-emacs-bug` so we get a chance to fix it before the release!
It seems to be the logic associated with finding the signing key.
Setting:
(setq mm-sign-option 'guided)
lets the whole thing work, but you have to use the dialog (which has a
truely horrible UI) that pops up and tell it to use the default key
everytime.
I tried to debug this, but for no reason that I can fathom edebug seems
to fail on the key (pun!) functions.
mml-secure-select-preferred-keys
mml-secure-find-usable-keys
Robert, Sharon could you try the "mm-sign-option". I am curious to see
if this is the same bug.
Phil
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: How to get a pinentry box to digitally sign all emails
2020-04-22 17:40 ` Phillip Lord
@ 2020-04-22 18:03 ` Robert Pluim
0 siblings, 0 replies; 16+ messages in thread
From: Robert Pluim @ 2020-04-22 18:03 UTC (permalink / raw)
To: Phillip Lord; +Cc: help-gnu-emacs, Stefan Monnier
>>>>> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-04-22 18:03 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).