GPGMail: GPGMail loses some emails on smartcard failure

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)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • 2018-05-18_02-01_DebugInfo.gpg 108 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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