- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Nov 10 2018
Nov 9 2018
It worked as I expected. I've tested it with the run-messenger test and I can close and later "re-decrypt" again. The only surprising thing might be for your users that they have to unlock their secret key again if it is not already unlocked.
Right. While switching the Mail works for me if there are no other references to the mail open (e.g. If I have the mail opened in Outlook Spy switching does not work as the mail is not unloaded). It is better to make it explicit. The code is all there I just have to add a window message handler for it. I'll do that.
The problem is probably that you are also holding a reference to the mail in question. For me the close triggers an unload so that GpgOL completely detaches from the mail in question.
I've now added a more explicit tracking of when it should be allowed to write namely after our close with discard changes.
Marking this as resolved as it was forgotten in the testing state.
I think this is resolved by kleopatra's watchdog. There is a bug that the agent becomes unresponsive somehow then the loading also hangs but this is unrelated to kleopatra.
Sorry I did not see your first comment.
I would change gpgme_addrspec_from_uid and the gnupg equivalent to strip out the subaddress.
First let me say that it is never a good Idea to use outdated / unmaintained security software. PGP Messages are external input and you pass that to unmaintained software.
Nov 8 2018
I've added two message handling routines and a small program to test it (run-messenger.cpp) You can use run-messenger.cpp for reference.
To reproduce it the key is to close Outlook through the file -> close option.
In the log I can see where it uses a non default codepath:
Nov 7 2018
Yep, I can access this property.
Nov 6 2018
It happens with 3.1.4, too.
Works nicely now. I added a "yellow" warning to indicate that the message is a crypto message that can't be handled by GpgOL in the Junk folder. I see no way to actually decrypt in the Junk folder as we are not allowed to access attachments.
In T4241#119944, @msc wrote:I wonder if it would be possible for you to close the mail / inspector of the mail with DiscardChanges before doing a save as?
Discarding changes with the Close(OlDiscard) method has no effect on the issue.
Nov 5 2018
Yes I see the problem and have a fix for it. I'm just trying to make it nice now :-)
I can reproduce that it won't be moved.
This issue is pretty old and I think anything here was fixed in recent releases. So let's close this to avoid artifacts in the tracker.
A wait, we have T4203 for the continuing problems. So let's close this.
This was likely one form of T4111
3.1.4 was released.
This had also something to do with the missing keycache that will be released in 3.1.5 so that sometimes S/MIME keys were not cached internally and so would not be used.
There is still at least one report claiming that this still happens for large attachments. I could not reproduce it.
This was fixed with the Gpg4win-3.1.4 release. Apologies that I forgot to mention a pre release version / installer in this issue.
I've tried to reproduce it but failed. Even If I open the message in a new window or a new explorer the message is correctly caught.
Yes that is expected, we block the save event as long as we have replaced the Body / Attachments of the mail with decrypted contents are shown. In our debug log you would see the message "Canceling write event".
Nov 2 2018
Yes. Thanks! I'm at over 2500 S/MIME verify operations without a crash now!
Yes! Thank you very much. My test runs and my Outlook has verified 2500 S/MIME Mails without a crash.
Oct 31 2018
Oct 30 2018
I'm currently looking at the CloseHandle in _gpgme_io_close:
Btw I've checked that the errors are the same in T4111 and this:
Certificate though has a nicer connotation to it and definitely feels like it has the connotation of something to be shown off to other people and displayed on walls, which I really like.
Oct 29 2018
I disagree, and you don't have to try to convince me, the decision is with werner. I just want to give my opinion:
Bug compatibility is nothing esoteric or bad especially for a general purpose backend tool like gnupg. Being open to accepting broken input is a good thing because it will mean that we can get people out of a "broken tool vendor lock in".
Fixed it myself as I confirmed the leak with Dr. Memory.
I've seen now four crashes in _gpgme_io_spawn. I've added tracing that shows that the CreateProcess itself is crashing. I do not see how this is possible. I'm printing the command line and the program name in debug output and both look fine.
The command line is also mutable.
I'm also seeing hangs. Sometimes with gpgsm running. Sometimes without it running.