summaryrefslogtreecommitdiff
path: root/commands/pwd.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-06-25 09:22:49 -0500
committerRobin Jarry <robin@jarry.cc>2022-06-26 12:07:44 +0200
commit6a10123f4a361ae5c2e712752ea4c95b6724e678 (patch)
tree6d77c73ab867b494b14dce52a084af258022bba4 /commands/pwd.go
parent96db50c4f06bab4ef052b584943d8c7113766a06 (diff)
downloadaerc-6a10123f4a361ae5c2e712752ea4c95b6724e678.zip
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>
Diffstat (limited to 'commands/pwd.go')
0 files changed, 0 insertions, 0 deletions