aerc/lib
Moritz Poldrack 80f90c0d41 gpg: fix panic when signing an unparsable message
Fix the following error:

panic()
	runtime/panic.go:838
bytes.(*Buffer).ReadFrom()
	bytes/buffer.go:204
io.copyBuffer()
	io/io.go:412
io.Copy()
	io/io.go:385
git.sr.ht/~rjarry/aerc/lib/crypto/gpg/gpgbin.Sign()
	git.sr.ht/~rjarry/aerc/lib/crypto/gpg/gpgbin/sign.go:25
git.sr.ht/~rjarry/aerc/lib/crypto/gpg.(*Signer).Close()
	git.sr.ht/~rjarry/aerc/lib/crypto/gpg/writer.go:52
git.sr.ht/~rjarry/aerc/lib/crypto/gpg.multiCloser.Close()
	git.sr.ht/~rjarry/aerc/lib/crypto/gpg/writer.go:92
git.sr.ht/~rjarry/aerc/widgets.(*Composer).WriteMessage()
	git.sr.ht/~rjarry/aerc/widgets/compose.go:601
git.sr.ht/~rjarry/aerc/commands/compose.Send.Execute.func1()
	git.sr.ht/~rjarry/aerc/commands/compose/send.go:127

Fixes: https://todo.sr.ht/~rjarry/aerc/53
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2022-07-02 18:36:40 +02:00
..
auth msgviewer: parse and display authentication results 2022-06-09 09:42:23 +02:00
calendar calendar: fix go vet error 2022-06-24 21:08:21 +02:00
crypto gpg: fix panic when signing an unparsable message 2022-07-02 18:36:40 +02:00
format dirlist: add format specifier to compact folder name 2022-04-29 13:41:38 +02:00
parse msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
statusline feat: add background mail polling option for all workers 2022-05-31 14:32:51 +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
attachment.go compose: refactor attachment handling 2022-07-02 17:52:49 +02: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 visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +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 forward: provide option to append all attachments 2022-07-02 17:53:06 +02:00
structure_helpers_test.go forward: provide option to append all attachments 2022-07-02 17:53:06 +02:00
threadbuilder.go threading: fix msg-id order in references header 2022-03-23 20:56:47 +01:00