GPG Keychain: GPG keychain doesn’t like spaces in key fingerprints when using search

mieszkoslusarczyk's Avatar

mieszkoslusarczyk

02 Oct, 2020 07:31 PM

GPG keychain doesn’t like spaces in key fingerprints when using search.
If I remove the spaces it works fine.
I also didn’t have any success looking up keys on keyservers by email address.
Try searching for ‚4120 B214 84A7 7647 4658 3909 31C8 0DB2 DDE7 6CEA’ then ‚4120B21484A776474658390931C80DB2DDE76CEA’

Expected
I expect it to handle spaces, as they are common when people publish their keys fingerprint.

macOS                   10.15.7     19H2
GPG Suite               2020.1      2787    (c9e4d273d9)
GPG Mail (enabled)      4.1         1530    (ad7b466590)    Decrypt Only Mode
GPG Keychain            1.6         1619    (d9f323fe3e)
GPG Services            2.0         1116    (0e712c951c)
MacGPG                  2.2.20      943     (a8c05a09fc)
GPG Suite Preferences   2.3         1147    (3676fecd1d)
Libmacgpg               1.1         927     (c29e5dab99)
pinentry                1.1.0.3     17      (85b3564ea3)
  1. Support Staff 1 Posted by Steve on 05 Oct, 2020 10:19 AM

    Steve's Avatar

    Hi ,

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

    When searching for 4120 B214 84A7 7647 4658 3909 31C8 0DB2 DDE7 6CEA GPG Keychain does display search results.

    Although if you are using hkps://keys.openpgp.org make sure you have the fallback to the old key severs enabled in Preferences > Key Server as that public key resides on the old sks key servers. As those tend to be rather unreliable I would propose to contact the key owner and ask them to upload and verify their key to https://keys.openpgp.org/

    All the best,
    Steve

  2. 2 Posted by mieszkoslusarcz... on 05 Oct, 2020 10:24 AM

    mieszkoslusarczyk's Avatar

    It doesn't seem to be an issue with a specific key.
    Usually when people post their key fingerprints they have spaces (every 4 characters) - I believe this is common when formatting them.
    The issue for me is that simply copying/pasting the key in the lookup field does not find it, while after removing spaces it does. Can you make it "understand" fingerprints with spaces?

    --
    Mieszko Ślusarczyk

    Włącz 5 października 2020 w 12:19:50, Steve ([email blocked](mailto:[email blocked])) Napisał:

  3. Support Staff 3 Posted by Steve on 05 Oct, 2020 10:43 AM

    Steve's Avatar

    Should you be available, could you hop on our live chat here:
    https://hq.gpgtools.org/livechat

    We can't promise a solution, but we'd like to inspect this problem in more detail. When joining the live chat, please post the URL of this discussion so we know which case you are contacting us about.

    All the best
    Steve

  4. Support Staff 4 Posted by Steve on 05 Oct, 2020 10:56 AM

    Steve's Avatar

    Indeed unreliable key servers and not spaces.

  5. Steve closed this discussion on 05 Oct, 2020 10:56 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