As a user are these workarounds acceptable to you. < This should have been a
question ;-)
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 13 2017
Hi,
Again thanks for your feedback on the GpgOL-Beta. You might want to give the
latest one from http://files.gpg4win.org/Beta/gpgol/ (beta-246 currently) a try
it's much improved and there were several potential crashes fixed. I'm currently
working on an improved certificate selection and certificate details dialog and
then we will release a new gpg4win beta with that.
To your problem: Yes this is a serious problem, but we currently don't have a
solution for this, only a workaround. The workaround is to do the Copy / Move /
Modify while the mail is not shown decrypted. In the current beta:
If you unselect the crypto mail you can move / copy / modify (e.g. flag) the
message through right clicking it.
To save the message as .msg you can drag & drop it (even when opened) to a
target windows explorer folder.
An opened messaage can still be moved to trash. Any other moves will sadly
result in an "File name or directory name is not valid" error.
We inform the user about this only when he tries to modify a mail (see attached
screenshot) we should probably also do that for other things.
The underlying problem is pretty complicated and we spent a lot of time
struggling with that, but basically we must prevent outlook from saving the
decrypted content. Otherwise the mail will break and can no longer be shown in
other MUAs. And worse the Plaintext may be resynced to the server. One
workaround we had was to restore the crypto contents before outlook saved the
mail then decrypt it again. But this caused several other problems. E.g. Outlook
resynced the mail to imap and Signatures might be broken, and if we did this at
the wrong time outlook would do into an indefinite sync loop. So we decided
better to have clear workarounds and be otherwise stable then to have buggy /
strange behavior.
As a user are these workarounds acceptable to you.
Hi,
Thanks for feedback on the beta!
This was actually a feature request and I consider this a feature. Because it's
a security usability problem if someone replies to an encrypted mail in plain
text with a full quote of the originally encrypted mail. KMail for example does
the same preselection.
But I see your usecase. I'll make it optional (a config setting) but the default
will be "enabled".
Dec 29 2016
Dec 27 2016
Dec 22 2016
I tested some more and found out problem is bigger than only move. Copy also
doesn't work, but save message as .msg or exporting to pst folder doesn't work
also. So it seems nothing can be done with message to save or archive it
somewhere else then orginal folder. Tried official stable version of gpgol, but
this has the same problems. Also tried this stuff on android with K9 client and
openkeychain, whereas these problems do not exist, it simple works as expected.
Dec 20 2016
Dec 19 2016
Dec 17 2016
Dec 9 2016
Dec 5 2016
I just tried with latest gpgol (beta 204) and it now seems to work. So bug is
solved already! :)
Dec 2 2016
Nov 28 2016
I could reproduce this by opening two crypto mails in multiple windows this
reliably triggered the crash.
I have not fully understood the crash as it crashed in the close invocation in
outlook. After various trys and improvements to our code (there were some fishy
cleanups) i was able to fix this by closing the inspector of the mailobject
before closing the mail. Outlook apprarently did not like it if I closed a mail
that was active in an inspector but that is a bit speculation.
Nov 19 2016
However, if I turn the reading area/preview are on, anything works fine :/
Hi,
thanks for your message. I installed the gpg4win beta 194 (3.0.0, released at
15th November), however, Outlook now crashes with another error message:
Runtime Error!
Program: C:\Program Files\Microsoft Office\root\Offie16\OUTLOOK.EXE
This application has requested the Runtime to terminate it in an unusual way.
Please contact the acpplication's support team for more information.
The error message occurs, when I _select_ an encrypted/signed message in outlook
(preview window is off, so the message should probably not be loaded, yet). I
can't open the message itself (but I'll need to enter my private key pin).
Is this related to this bug or should I open a new one?
Best,
Florian
Nov 16 2016
I've just announced a new 3.0 beta that contains the updated GpgOL
http://lists.wald.intevation.org/pipermail/gpg4win-devel/2016-November/001659.html
Please let me know if it still crashes for you with that version.
Nov 11 2016
Thanks a lot. I will test as soon as you release the test build.
Hi,
Thanks for testing gpg4win This issue was already reported in T2335 and has
been resolved (but not yet released).
I'll upload a new beta next week.
Regards,
Andre
gpgol 2.0 won't change the messages on the server anymore there might be code
paths leading to that under error conditions but i'm not aware of any. And the
fallback is first to try to revert them.
Still true for sending but for sending we don't have a choice. But decryption is
now done in a different thread.
I've tried this again with the current development version after a very large
refactoring how we handle mails. The bug appears to be gone. I've tested 10
times to send a file with closed / open outlook and with and without encryption
active.
If I install gpg4win-2.3.3 on the same system / setup the crash is reliably
reproducible.
It's still likely that we made a reference counting error internally in code
that was changed / fixed now. And Outlook released the Mail object too early and
crashed.
Kaspersky probably had some similar error in their code.
I'll upload a new Gpg4win beta with the new gpgol next. I'll ping in this issue
once thats done so you could ideally confirm that its fixed now.
Oct 31 2016
That's awesome aheinecke! Honestly wasn't sure if this issue would ever get much
attention. Thanks for the effort in making Gpg4win a more secure product!
Oct 28 2016
Duplicate of T2341
Thanks for your report,
This was already fixed in T2341
Which is currently not yet released. I'm marking this issue here as released
with superseder (duplicate) to keep the tracker clean.
GpgOL is built with DEP and and ASLR now. Need to enable this for GpgEX and some
other parts of Gpg4win, too. So not yet fully resolved but I keep it in mind.
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.
Oct 18 2016
Oct 5 2016
Sep 19 2016
Aug 15 2016
Fixed for the next version with 037a5a7ed
Aug 12 2016
Interesting...
The Kaspersky issue is about Outlook 2007... Is that supposed bug really already
THAT old?!
This could be a nasty one. The crash occurs after the data structure of the mail
was unloaded in outlook and GpgOL already completely detached it's event
handlers from the object and frees up the memory. GpgOL is not executing any
code when the crash occurs. That outlook blames GpgOL is likely because it jumps
into an invalid memory region that was allocated for GpgOL but is no longer
valid. This shouldn't happen though as we have already successfully unregistered
all our callbacks.
So I currently think that somehow when using send from explorer outlook through
some side effect / bug does a callback into GpgOL's event handling code which
was already destroyed. I'll try to confirm that theory on monday by keeping the
event handlers around after the unload event occurred.
Also does not appear that we are the first ones with that problem:
https://forum.kaspersky.com/index.php?showtopic=225375
:-/
Thanks! :-)
Thanks for the report. I am able to reproduce the problem.
Looking into it.
Jul 13 2016
To make it clear: I'm not even trying to sign or encrypt, just send a plaintext
message with attachment also in the clear.
Jul 5 2016
Hi,
There was a problem in Gpg4win-2.3.1 that GpgOL and GpgEX might be unable to
start Kleopatra or GPA. This problem has been fixed with 2.3.2
Thanks for your report. Please check if 2.3.2 does not solve your problem and
let us know if it still persists.
Regards,
Andre
Gpg4win 2.3.1 and 2.3.2 included 64 bit versions of gpgol.
Hi,
Thanks for your report. Could you please retest with 2.3.2 we've fixed an issue
where GpgOL had problems communicating with Kleopatra that could cause your
behavior although I'm not 100% sure as I can't reproduce your problem.
Thanks,
Andre
Thanks for your report. Sorry I missed this for 2.3.2.
I'll look into it for the next version.
Hi,
Thanks for your report. With gpg4win-2.3.2 we addressed that problem. See also
issue2319 which was also about this problem.
Please let us know if you still have that problem with 2.3.2 I could reproduce
it in testing and with the fix it no longer happens so I'm hopeful this can be
resolved :-)
Regards,
Andre
Duplicate of T2319
With 2.3.2 the fix was released.
With 2.3.2 we've fixed another bug that sent mails were still handled by gpgol
even when s/mime was disabled.
So far I know of no other problems -> Resolved.
Jun 29 2016
Fix commited to master with rev 643575f