GPGMail: GPGMail loses some emails on smartcard failure (Apple rdar://22828028)

T Wilson-Brown's Avatar

T Wilson-Brown

18 May, 2018 02:01 AM

When my Yubikey isn't inserted, and I cancel the request to insert it, GPGMail deletes the email rather than sending it.

Steps to reproduce:
0. Make sure that your smart card isn't in the machine
1. Compose an email with encryption or signing
2. Send the mail, but cancel the request to insert the smart card

GPGMail tries to send the mail, and mail shows the progress of the mail being sent.
But the mail isn't in the sent mailbox, or the draft mailbox, and it isn't reopened for editing.

Expected
When the smart card is not inserted, GPGMail re-opens the mail for editing.
Mail is in at least one of the draft mailbox, and the sent mailbox.

macOS                   10.13.2     17C205
GPG Suite               2018.1      2083    (9658b70)
GPGMail                 3.0b4       1272    (461cda15)
GPG Keychain            1.4.2       1403    (128637e)
GPGServices             1.11.2      969     (e5438f7)
MacGPG                  2.2.3       900     (cead4f9)
GPG Suite Preferences   2.1.1       993     (05eb1a6)
Libmacgpg               0.8.2       829     (943132e)
pinentry                0.9.7.1     9       (db18340)
  1. Support Staff 1 Posted by Steve on 08 Jul, 2018 11:25 AM

    Steve's Avatar

    Hey Tim,

    please excuse the late reply. Can you let us know if this issue persists using macOS 10.13.5 and GPG Suite 2018.3?

    Best,
    steve

  2. 2 Posted by T Wilson-Brown on 09 Jul, 2018 11:54 PM

    T Wilson-Brown's Avatar

    Yes, the issue persists on macOS 10.13.5 and GPG Suite 2018.3.

  3. Support Staff 3 Posted by Steve on 11 Jul, 2018 02:20 PM

    Steve's Avatar

    This is confirmed and is also a problem for messages not involving a smartcard.

    We have a ticket for this problem. I connected this discussion with the existing ticket. That means, should this discussion get closed, it will be re-opened as soon as the ticket is closed. That way you'll stay in the loop and get notified as soon as we have news. Feel free to open a new discussions should you run into further problems or need assistance.

    Thanks a lot for bringing this to our attention.

  4. Support Staff 4 Posted by Steve on 11 Jul, 2018 02:30 PM

    Steve's Avatar

    A few more details: The problem at hand is caused by a bug in macOS Mail.app. We reported this issue to Apple in october 2015 as rdar://22828028.

    Please use their feedback form to inform Apple about this problem and ask them kindly to consider investing the time to fix this bug. It may help to add the rdar numbers, so they know which issue you are referring to.

    We've updated the bug with Apple and emphasized the fact that this bug results in data loss.

    Kind regards,
    steve

  5. Steve closed this discussion on 20 Sep, 2018 04:25 PM.

  6. Support Staff 5 Posted by Steve on 14 Aug, 2019 08:19 AM

    Steve's Avatar

    Hi Tim,

    this issue should be fixed. If you want to test the fix, please download our latest hotfix GPG Suite. That page also has Signature file and SHA1 to verify the download.

    We are in the midst of preparing the next release so feedback would be highly appreciated. If you have a few minutes please take the latest nightly (currently 2502n) for a spin.

    Best,
    Steve

    Disclaimer: This is a development version which has not been thoroughly tested yet, so bugs or crashes are to be expected.

  7. Steve closed this discussion on 14 Aug, 2019 08:19 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac