aerc/lib
Tim Culverhouse 32a16dcd8d pgp: check encryption keys before sending message
Add check for public keys of all message recipients (to, cc, and bcc)
before sending the message. Adds an OnFocusLost callback to header
editors to facilitate a callback for checking keys whenever a new
recipient is added (OnChange results in too many keyring checks).

Once encryption is initially set, the callbacks are registered. If a
public key is not available for any recipient, encryption is turned off.
However, notably, the callbacks are still registered meaning as s soon
as the user removes the recipients with missing keys, encryption is
turned back on.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Koni Marti <koni.marti@gmail.com>
2022-05-06 11:02:50 +02:00
..
crypto pgp: check encryption keys before sending message 2022-05-06 11:02:50 +02:00
format dirlist: add format specifier to compact folder name 2022-04-29 13:41:38 +02:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
statusline statusline: refactor to make it more customizable 2022-04-25 11:21:07 +02:00
templates config: do not hardcode sharedir 2022-02-19 15:24:55 +01:00
ui pgp: check encryption keys before sending message 2022-05-06 11:02:50 +02:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keepalive_dummy.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keepalive_linux.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
messageview.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
msgstore.go store: remove callbacks on error 2022-05-06 11:02:33 +02:00
oauthbearer.go Add `oauthbearer` support for SMTP 2020-08-13 07:44:43 +02:00
open.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
socket.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
structure_helpers.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
threadbuilder.go threading: fix msg-id order in references header 2022-03-23 20:56:47 +01:00