I use a minor mode which automatically adds an encryption tag to
the message if a key is known to exist. It does not look up the
key, it only checks the private store (those keys which are
already known by the gpg agent). Maybe you could adapt this to
your needs.
The source is located at
htt
On Mon, Dec 16 2019, "Carolyn \"Lynn\" Knight-Serrano"
wrote:
> I have two feature requests/questions for notmuch-emacs? One would it
> be possible to add or configure in support for automatically adding
> your gpg public key to messages? Second, could there be a feature that
> checks if there's
* Carolyn Knight-Serrano:
> would it be possible to add or configure in support for automatically
> adding your gpg public key to messages?
As already mentioned, adding several KB of GPG key to the body of each
of your messages would be very impolite, and it might get you flagged as
a spammer.
A
Two ideas:
echo “-- “ > ~/.signature
gpg -a -e $USER >> !$
This is hardly polite, but at least the signature will be stripped off by many
archives and replies.
Alternatively,
(add-hook ‘message-setup-hook (lambda () (mml-attach-file “path/to/pubkey.gpg”))
But this still puts kilobytes of us
Oh! I figured out how to encrypt by default. I still can't figure out how to
attach my public key by default though.
On December 16, 2019 10:57:12 PM UTC, "Carolyn "Lynn" Knight-Serrano"
wrote:
>I have two feature requests/questions for notmuch-emacs? One would it
>be possible to add or config
I have two feature requests/questions for notmuch-emacs? One would it be
possible to add or configure in support for automatically adding your gpg
public key to messages? Second, could there be a feature that checks if there's
a gpg key for the recipient of a message and if there is, turn on enc