aerc/lib/ui
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
..
borders.go style: customize vertical and horizontal border characters 2021-11-30 15:05:33 +01:00
context.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
fill.go view,compose: use border color to separate headers from body 2021-10-28 16:38:23 +02:00
grid.go grid: don't draw at a negative offset 2022-04-28 17:56:37 +02:00
interfaces.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
invalidatable.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
popover.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
stack.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
tab.go aerc: use contextual ui styleset for tabs/compose 2022-04-17 12:18:22 +02:00
text.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
textinput.go pgp: check encryption keys before sending message 2022-05-06 11:02:50 +02:00
ui.go logging: added a log on panic 2022-03-23 20:56:09 +01:00