GPGMail: 2.7b3 bugs in selecting keys for signing. possible emailcounter bug too

ruben's Avatar

ruben

08 May, 2017 12:37 PM

I have two keys in my gpg keychain, one is a legacy key, the other is my current one.

Despite selecting C431470D, D81343FD is always used. gpgkeychain orders with D81343FD being the first key.

After I disabled the gpgmail bundle in mail, miraculously my smart mailboxes started to show their unread mail counters again

$ gpg --list-keys [email blocked] pub 1024D/C431470D 2002-03-03
uid Ruben van Staveren [email blocked]
sub 1280g/F476D296 2002-03-03

gpg: Note: signatures using the MD5 algorithm are rejected
pub 1280R/D81343FD 1995-04-26
uid Ruben van Staveren [email blocked]

Expected
* Signing/encryption using the preferred key * Smart mailboxes showing their unread message count

Additional info
gpgmail bundle 2.7b3, disabled for now

macOS           10.12.4     16E195
GPG Suite       2017.1b3    1812    (d43863c)
GPGMail -
GPG Keychain    1.3.3b2     1271    (028a4a2)
GPGServices     1.11        916     (872e77d)
MacGPG2         2.0.30-1b2  887-    (4912d26)
GPGPreferences  2.0.2b3     927     (641418e)
Libmacgpg       0.7         782     (536bf51)
pinentry        0.9.7       4       (b75069d)
  1. Support Staff 1 Posted by Steve on 08 May, 2017 02:19 PM

    Steve's Avatar

    Hi Ruben,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Thanks for taking the time to report the issues you are seeing. The key selection bug is a known issue in the 10.12 beta of GPGMail.

    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.

    To workaround the key selection problem, I would suggest to disable the old key in GPG Keychain. That should result in GPGMail then using the correct key.

    That issue is being worked on and we hope to be able to ship a fix with the next beta.

    Can you experiment with the unread counters in smart mailboxes a bit more and see if you are able to find a pattern to reliably reproduce the problem and if it indeed is related to GPGMail.

    Kind regards,
    steve

  2. 2 Posted by ruben on 09 May, 2017 09:51 AM

    ruben's Avatar

    I've re enabled the bundle, but unfortunately it doesn't reproduce (yet). I'll keep an eye on it

  3. Support Staff 3 Posted by Steve on 09 May, 2017 10:15 AM

    Steve's Avatar

    Sure. As mentioned the bug you where seeing with key selection is a known issue:
    If multiple private keys are available for the same email address, GPGMail currently picks one at random to sign the message. [#895]

    We will keep you posted as soon as we have a fix.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • 2017-05-08_12-37_DebugInfo.gpg 112 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