GpgOL - "Please wait while the message is being decrypted / verified..."

Hi,

I’m new to gpg4win and have only had it installed for a couple of days. I’m using GpgOL on Outlook 2016, with the outlook365 stuff at the back, but I’m regularly finding that, when I open an encrypted email, it shows the message in the subject line above and never decrypts. I don’t get prompted for a passphrase. When I do get prompted for a passphrase it all works ok but, to get round this, I have to shut down outlook, shut down and restart Kleopatra, then restart outlook.

Is anyone else seeing this and knows of a better solution?

Thanks

Dear John,
did you check if the passphrase dialog is coming up in the back of another window?

Note: that once you have entered the passphrase it is cached a few minutes by default.

Best Regards,
Bernhard

Hi

Thanks for your reply. I used alt-tab to cycle through all the displayed windows/dialogs and there was no sign of it, however I will check that again the next time it happens, just in case I missed it.

John

I had another hunt round the next time this happened and there was no sign of that dialog. I was also having issues occasionally with decryption of incoming emails from someone who was using an earlier version of gpg4win so, having looked around the forum about this, I thought I’d try installing the previous version instead. It didn’t help much so I went back to 3.0.0 but, after doing this, I found that my Outlook kept getting messed up; it would stop doing loads of things and swapping to other mail folders would cause the display to show “cannot display the folder. out of memory or system resources.”

For the moment I’ve uninstalled gpg4win completely to see whether having removed it prevents that problem in outlook.

John

Hi John,

Unfortunatly, it can happen from time to time, that the Pinentry window, that popped under is not displayed in the cycle. I suggest to minimize the overlaying window and check if it is there. We are aware of that “underpop” issue of the Pinenty window but weren’t able to fix it yet.

Best wishes,
Jochen

Hi Jochen,

It doesn’t appear to be that; I’ve tried minimising everything - it’s just not there. To get round that problem I have to close outlook, close Kleopatra, go into task manager and kill all the processes with gpg in their name, then start Kleopatra and outlook again.

In addition to that, I also sometimes get the problems I mentioned in my 11 Nov @ 13:03 message with system resources in Outlook.

John

That should be 11 October :slight_smile:

Could it be, that the Issues correlate with each other? So that your Outlook freezes and so does GpgOL? Or do you have the feeling that these issues are something different?

I wouldn’t be surprised if they were related; possibly too many file handles or something being opened by some sub-process. We’ll see what the logs say, if it happens again! :slight_smile:

Jochen,

Well, I enabled GpgOL logging and restarted Outlook, and the first message I tried to open just hung around saying that it was waiting to decrypt etc, without any prompt for my pass code. Here’s the log (with the sender’s email as ),. Hope it’s useful.

09:12:21/23888/enabled debug flags:
09:12:21/23888/gpgoladdin.cpp:OnConnection: this is GpgOL 2.0.1
09:12:21/23888/gpgoladdin.cpp:OnConnection: using GPGME 1.10.0-beta75
09:12:21/23888/gpgoladdin.cpp:OnConnection: in Outlook 16.0.0.8201
09:12:22/23888/gpgoladdin.cpp:OnStartupComplete:423: tracepoint
09:12:22/23888/Ensure category exists called for GpgOL: Encrypted Message, 8
09:12:22/23888/oomhelp.cpp:ensure_category_exists: Found category ‘GpgOL: Encrypted Message’
09:12:22/23888/Ensure category exists called for GpgOL: Trusted Sender Address, 5
09:12:22/23888/oomhelp.cpp:ensure_category_exists: Found category ‘GpgOL: Trusted Sender Address’
09:12:22/23888/olflange.cpp:install_forms: form C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol.cfg' installed 09:12:22/23888/olflange.cpp:install_forms: form C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-ms.cfg’ installed
09:12:22/23888/olflange.cpp:install_forms: form C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-cs.cfg' installed 09:12:22/23888/olflange.cpp:install_forms: form C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-signed.cfg’ installed
09:12:22/23888/olflange.cpp:install_forms: form C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-encrypted.cfg' installed 09:12:22/23888/storing option enableSmime’ value=1' 09:12:22/23888/storing option encryptDefault’ value=0' 09:12:22/23888/storing option signDefault’ value=0' 09:12:22/23888/storing option previewDecrypt’ value=0' 09:12:22/23888/storing option encodingFormat’ value=1' 09:12:22/23888/storing option logFile’ value=c:\McCabe\gpgol.log' 09:12:22/23888/storing option defaultKey’ value=' 09:12:22/23888/storing option enableDefaultKey’ value=0' 09:12:22/23888/storing option gitCommit’ value=0x0' 09:12:22/23888/storing option formsRevision’ value=335' 09:12:22/23888/storing option announceNumber’ value=0' 09:12:22/23888/storing option bodyAsAttachment’ value=0' 09:12:22/23888/storing option mimeUI’ value=1' 09:12:22/23888/storing option inlinePGP’ value=0' 09:12:22/23888/storing option autoresolve’ value=1' 09:12:22/23888/storing option replyCrypt’ value=1' 09:12:22/23888/storing option deprecationShown’ value=0' 09:12:22/23888/gpgoladdin.cpp:check_html_preferred: No type or key for ReadAsPlain 09:12:23/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:23/23888/application-events.cpp:Invoke: ItemLoad event without mailitem. 09:12:23/23888/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Explorer 09:12:23/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: ribbonLoaded 09:12:23/23888/gpgoladdin.cpp:Invoke: enter with dispid: 11 09:12:23/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled 09:12:23/23888/gpgoladdin.cpp:Invoke: enter with dispid: 13 09:12:23/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:23/23888/oomhelp.cpp:get_oom_object: error: 'Selection' p=74E1DC50 vt=0 hr=0x80020009 argErr=0x0 09:12:23/23888/oomhelp.cpp:dump_excepinfo: Exception: wCode: 0x1000 wReserved: 0x0 source: Microsoft Outlook desc: The operation failed. help: null helpCtx: 0x0 deferredFill: 00000000 scode: 0x80004005 09:12:23/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:23/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel 09:12:23/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1b 09:12:23/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:23/23888/oomhelp.cpp:get_oom_object: error: 'Selection' p=74E1DC50 vt=0 hr=0x80020009 argErr=0x0 09:12:23/23888/oomhelp.cpp:dump_excepinfo: Exception: wCode: 0x1000 wReserved: 0x0 source: Microsoft Outlook desc: The operation failed. help: null helpCtx: 0x0 deferredFill: 00000000 scode: 0x80004005 09:12:23/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:23/23888/ribbon-callbacks.cpp:get_sig_label: No mail. 09:12:23/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge 09:12:23/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1d 09:12:23/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:23/23888/oomhelp.cpp:get_oom_object: error: 'Selection' p=74E1DC50 vt=0 hr=0x80020009 argErr=0x0 09:12:23/23888/oomhelp.cpp:dump_excepinfo: Exception: wCode: 0x1000 wReserved: 0x0 source: Microsoft Outlook desc: The operation failed. help: null helpCtx: 0x0 deferredFill: 00000000 scode: 0x80004005 09:12:23/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Invalidating UI 09:12:24/23888/gpgoladdin.cpp:gpgoladdin_invalidate_ui: Invalidating ribbon: 1467D030 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Invalidation done 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1b 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 065F4200 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '065F4200' has now the uid: 'b99645b5-3166-49db-aa0f-8f0f867205b6' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A368 set to b99645b5-3166-49db-aa0f-8f0f867205b6 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A368 is now b99645b5-3166-49db-aa0f-8f0f867205b6 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A368 to b99645b5-3166-49db-aa0f-8f0f867205b6 09:12:24/23888/oomhelp.cpp:get_unique_id: '065F4200' has now the uid: 'b99645b5-3166-49db-aa0f-8f0f867205b6' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/10392/mail.cpp:do_parsing: preparing the parser for: 0413A368 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 065F4200. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/ribbon-callbacks.cpp:get_sig_label: No mail. 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1d 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 142400A8 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '142400A8' has now the uid: '3ead7082-7511-47f3-97c5-d6055a941471' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 set to 3ead7082-7511-47f3-97c5-d6055a941471 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 is now 3ead7082-7511-47f3-97c5-d6055a941471 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A290 to 3ead7082-7511-47f3-97c5-d6055a941471 09:12:24/23888/oomhelp.cpp:get_unique_id: '142400A8' has now the uid: '3ead7082-7511-47f3-97c5-d6055a941471' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 142400A8. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 13 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 1F315498 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F315498' has now the uid: '442443b2-53cc-4810-b1ca-f15c54bf4cbe' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 set to 442443b2-53cc-4810-b1ca-f15c54bf4cbe 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 is now 442443b2-53cc-4810-b1ca-f15c54bf4cbe 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A290 to 442443b2-53cc-4810-b1ca-f15c54bf4cbe 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F315498' has now the uid: '442443b2-53cc-4810-b1ca-f15c54bf4cbe' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 1F315498. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Invalidating UI 09:12:24/23888/gpgoladdin.cpp:gpgoladdin_invalidate_ui: Invalidating ribbon: 1467D030 09:12:24/23888/windowmessages.cpp:gpgol_window_proc: Invalidation done 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1b 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 1F131748 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F131748' has now the uid: '89f9d467-a693-4e95-9594-4e792da60963' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 set to 89f9d467-a693-4e95-9594-4e792da60963 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 is now 89f9d467-a693-4e95-9594-4e792da60963 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A290 to 89f9d467-a693-4e95-9594-4e792da60963 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F131748' has now the uid: '89f9d467-a693-4e95-9594-4e792da60963' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 1F131748. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/ribbon-callbacks.cpp:get_sig_label: No mail. 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1d 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 1F131748 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F131748' has now the uid: 'a0fbb664-5dbe-49bf-8da8-be834b3c3ae4' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 set to a0fbb664-5dbe-49bf-8da8-be834b3c3ae4 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 is now a0fbb664-5dbe-49bf-8da8-be834b3c3ae4 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A290 to a0fbb664-5dbe-49bf-8da8-be834b3c3ae4 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F131748' has now the uid: 'a0fbb664-5dbe-49bf-8da8-be834b3c3ae4' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 1F131748. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled 09:12:24/23888/gpgoladdin.cpp:Invoke: enter with dispid: 13 09:12:24/23888/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 09:12:24/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:12:24/23888/application-events.cpp:Invoke: Creating mail object for item: 1F3153E8 09:12:24/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:12:24/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:12:24/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:12:24/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:12:24/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:12:24/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=(null)' 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F3153E8' has now the uid: '0c8ad47b-fb7a-4af9-9bd3-5ef0570f753e' 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 set to 0c8ad47b-fb7a-4af9-9bd3-5ef0570f753e 09:12:24/23888/mail.cpp:set_uuid: uuid for 0413A290 is now 0c8ad47b-fb7a-4af9-9bd3-5ef0570f753e 09:12:24/23888/mail.cpp:set_uuid: Resetting uuid for 0413A290 to 0c8ad47b-fb7a-4af9-9bd3-5ef0570f753e 09:12:24/23888/oomhelp.cpp:get_unique_id: '1F3153E8' has now the uid: '0c8ad47b-fb7a-4af9-9bd3-5ef0570f753e' 09:12:24/23888/mail.cpp:update_oom_data 09:12:24/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 1F3153E8. 09:12:24/23888/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Explorer 09:12:24/10392/parsecontroller.cpp:parse:040E95D0 decrypt: 1 verify: 0 with protocol: OpenPGP sender: <redacted> 09:19:05/23888/application-events.cpp:Invoke: ItemLoad event. Getting object. 09:19:05/23888/application-events.cpp:Invoke: Creating mail object for item: 1F284438 09:19:05/23888/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note’
09:19:05/23888/mapihelp.cpp:change_message_class_ipm_note: content type is ‘multipart/encrypted’
09:19:05/23888/mapihelp.cpp:change_message_class_ipm_note: protocol is ‘application/pgp-encrypted’
09:19:05/23888/mapihelp.cpp:mapi_change_message_class: saving old message class
09:19:05/23888/mapihelp.cpp:mapi_change_message_class: setting message class to IPM.Note.GpgOL.MultipartEncrypted' 09:19:05/23888/mapihelp.cpp:mapi_create_attach_table: message has 2 attachments 09:19:05/23888/mapihelp.cpp:mapi_create_attach_table: attachment info: 09:19:05/23888/ 1496965 mt=0 fname=PGPMIME version identification’ ct=application/pgp-encrypted' ct_parms=(null)’
09:19:05/23888/ 1496997 mt=0 fname=encrypted.asc' ct=application/octet-stream’ ct_parms=`(null)’
09:19:05/23888/oomhelp.cpp:get_unique_id: ‘1F284438’ has now the uid: ‘6e454837-46a4-45c0-a951-ac4dba9f1019’
09:19:05/23888/mail.cpp:set_uuid: uuid for 040E7CB0 set to 6e454837-46a4-45c0-a951-ac4dba9f1019
09:19:05/23888/mail.cpp:set_uuid: uuid for 040E7CB0 is now 6e454837-46a4-45c0-a951-ac4dba9f1019
09:19:05/23888/mail.cpp:set_uuid: Resetting uuid for 040E7CB0 to 6e454837-46a4-45c0-a951-ac4dba9f1019
09:19:05/23888/oomhelp.cpp:get_unique_id: ‘1F284438’ has now the uid: ‘6e454837-46a4-45c0-a951-ac4dba9f1019’
09:19:05/23888/mail.cpp:update_oom_data
09:19:06/23888/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Mail.Read
09:19:06/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
09:19:06/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1b
09:19:06/23888/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
09:19:06/23888/oomhelp.cpp:get_unique_id: Found uid ‘6e454837-46a4-45c0-a951-ac4dba9f1019’ for ‘1F702150’
09:19:06/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
09:19:06/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1d
09:19:06/23888/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
09:19:06/23888/oomhelp.cpp:get_unique_id: Found uid ‘6e454837-46a4-45c0-a951-ac4dba9f1019’ for ‘1F702150’
09:27:10/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigTip
09:27:10/23888/gpgoladdin.cpp:Invoke: enter with dispid: 1a
09:27:10/23888/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
09:27:10/23888/oomhelp.cpp:get_unique_id: Found uid ‘6e454837-46a4-45c0-a951-ac4dba9f1019’ for ‘1466DEE0’
09:27:10/23888/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigSTip
09:27:10/23888/gpgoladdin.cpp:Invoke: enter with dispid: 19
09:27:10/23888/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
09:27:10/23888/oomhelp.cpp:get_unique_id: Found uid ‘6e454837-46a4-45c0-a951-ac4dba9f1019’ for ‘1466E098’
09:27:16/23888/windowmessages.cpp:gpgol_hook: WM_CLOSE windowmessage for explorer. Closing all mails.
09:27:16/23888/mail.cpp:close_all_mails:1084: tracepoint
09:27:16/23888/returned from invoke
09:27:16/23888/mailitem-events.cpp:Invoke: Removing Mail for message: 1F284438.
09:27:16/23888/application-events.cpp:Invoke: Quit event
09:27:16/23888/gpgoladdin.cpp:~GpgolRibbonExtender: cleaning up GpgolRibbonExtender object;
09:27:16/23888/gpgoladdin.cpp:~GpgolRibbonExtender: Object deleted

Perhaps I should mention that I clicked the X button in Outlook while the message was still opened (I have it set to open in a new window), in case that causes some confusion.

I have exactly the same issue, my configuration includes Win7 x64, Outlook 2010 32bit (against an Exchange mailbox), and GPG4Win 3.0.1.

Symptoms as described - when I select or open an encrypted email, it shows “Please wait while the message is being decrypted / verified” and then sits there indefinitely and never decrypts. Outlook doesn’t hang, it just does nothing and never asks for the passphrase.
I have checked all windows and monitors and the PinEntry window is actually not present.

What I have found is that if I manually kill the gpg-agent process, then (after a little while) GpgOL “wakes up” (disk activity is happening after gpg-agent is killed) and requests the passphrase, which then works as designed and decrypts the message.

This workaround is 100% reproducible and makes me believe something is hanging in the background, preventing GpgOL from working.

Hi Luca,

I noticed this problem also some days ago - seems the same problem:

https://forum.gnupg.org/t/signed-messages-are-not-displayed-gpg4win-3-0-1-ol-2010-win-7/3220

Regards,
Ivan

A log collected when my GpgOL stalled instead of offering the PinEntry window is available at

https://pastebin.com/jeRe2LTY

Hope it helps.

Hi,
Had the same problem but found a “solution” here

https://dev.gnupg.org/T3378

Basically says

"Until we have released a new version of gnupg or gpg4win, please use the workaround of adding

disable-check-own-socket
to the file “gpg-agent.conf” and restart gpg-agent (“gpgconf --kill all”)"

No more hanging problems wtih outlook since then

Hi John, Luca, Ican and Arnaud,

finally Gpg4win 3.0.2 from today should resolve the issue.

https://dev.gnupg.org/T3378 is a thread race issue which only appears
under some conditions. Some users have seen it more often than others.

Thanks again for your reports and patience,
it helped to frame and then to remove the defect!

Best Regards,
Bernhard