Re: Attach public key and encrypt by default

Subject: Re: Attach public key and encrypt by default

Date: Mon, 16 Dec 2019 23:02:07 -0500

To: Carolyn Lynn Knight-Serrano

Cc: notmuch@notmuchmail.org

From: Brian Sniffen


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 useless crud on every message. Please don’t. Maybe a URL to your key in your signature would be enough?

-- 
Brian Sniffen

> On Dec 16, 2019, at 10:52 PM, Carolyn Lynn Knight-Serrano <gigavinyl@riseup.net> wrote:
> 
> 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" <gigavinyl@riseup.net> 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 a gpg key for the recipient of a message and if there
>> is, turn on encryption by default? Thanks! 
>> -/-\-/-\-/-
>> 
>> Carolyn "Lynn" Knight-Serrano [xe/xem/xyr/xemself]
>> 
>> 🔐PGP Fingerprint: 0xf02b733b4382e451c8c2fff550858748146544cb
>> 
>> 🕸Fediverse: @gigavinyl@catgirl.science 
>> _______________________________________________
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> https://notmuchmail.org/mailman/listinfo/notmuch
> 
> -/-\-/-\-/-
> 
> Carolyn "Lynn" Knight-Serrano [xe/xem/xyr/xemself]
> 
> 🔐PGP Fingerprint: 0xf02b733b4382e451c8c2fff550858748146544cb
> 
> 🕸Fediverse: @gigavinyl@catgirl.science 
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: