aerc/lib/crypto/gpg/gpgbin
Tim Culverhouse 6a10123f4a gpg: don't send messages that failed encryption
Add error handling for messages that were unable to be encrypted.
Previously, messages that failed encryption would be sent with no
content. This patch adds error handling - when encryption fails, the
user is returned to the Review screen and instructed to check the public
keys for their recipients.

Reported-by: Moritz Poldrack <moritz@poldrack.dev>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-06-26 12:07:44 +02:00
..
decrypt.go pgp: fix crash on gpg decrypt fail 2022-05-04 14:10:32 +02:00
encrypt.go gpg: don't send messages that failed encryption 2022-06-26 12:07:44 +02:00
gpgbin.go gpg: don't send messages that failed encryption 2022-06-26 12:07:44 +02:00
import.go feat: add gpg integration 2022-04-27 09:46:25 +02:00
keys.go pgp: add attach key command 2022-05-06 11:02:55 +02:00
sign.go feat: add gpg integration 2022-04-27 09:46:25 +02:00
verify.go feat: add gpg integration 2022-04-27 09:46:25 +02:00