Page MenuHome GnuPG

Rare crashes when encrypting and/or signing mails with GpgOL
Closed, ResolvedPublic

Description

Sometimes after signing / encrypting a Mail Outlook crashes on sending.

This happens in the send Mail Window message callback and is likely a timing /
threading problem.
I can't reproduce this problem reliably on my test systems but the fix for it
would be to remove the async callback that is neccessary because we sign/enc in
the AfterWrite event from which we cannot access the Outlook Object Model to
trigger the Send again.

Details

Version
master

Event Timeline

Just as a note, this bug is for the "MIME Aware" interface with event driven
sign / encrypt.

Fixed with: 5579c4b4f

The code was overcomplicated as it was based on a bad assumption about Outlook
which I never questioned myself. We now properly encrypt in the send event so no
need for ticklish threads / callbacks.