diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-06-27 07:31:31 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-06-28 22:00:04 +0200 |
commit | ccd76e6494ba2c502c90e38e51ca9a4eb21689bb (patch) | |
tree | da96a444d0e3c3ca16b48d80a1e27ec25be6a7cd /config/triggers.go | |
parent | 506f8f165c4c7de59255c5691ecef9f95dea5254 (diff) | |
download | aerc-ccd76e6494ba2c502c90e38e51ca9a4eb21689bb.zip |
gpg: fix error handling during decryption
An non-zero exit code from the execution of gpg during decryption would
prevent aerc from parsing the output of gpg. The output should always be
parsed. Gpg can exit with an error due to not being able to validate a
signature. Aerc handles this error with the UI, and therefore all output
should be parsed regardless of exit state of gpg. The parsing of stdout
will find the errors and report back to aerc properly.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'config/triggers.go')
0 files changed, 0 insertions, 0 deletions