From: Robert Pluim <rpluim@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to get a pinentry box to digitally sign all emails
Date: Thu, 16 Apr 2020 16:30:37 +0200 [thread overview]
Message-ID: <m2eesnijua.fsf@gmail.com> (raw)
In-Reply-To: <87o8rry303.fsf@skimble.plus.com> (Sharon Kimble's message of "Thu, 16 Apr 2020 14:27:40 +0100")
>>>>> 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
next prev parent reply other threads:[~2020-04-16 14:30 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 [this message]
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
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=m2eesnijua.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=boudiccas@skimble.plus.com \
--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.
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).