firstlookmedia/gpgsync

Blank keyserver isn't using the default

micahflee opened this issue · 1 comments

In GPG Sync 0.3.0.dev3 in Windows, when syncing a keylist, it imports the authority key to my gpg keyring, but it doesn't import the keys on the keylist.

I think this may not be a Windows problem, but rather a keyserver problem. It looks like this is being treated as a successful --recv-key command, when really it should have failed:

[Keylist] refresh_fetch_fingerprints: Fetching public key 0x89A82260C535DE9F
[GnuPG] recv_key: keyserver=b'', fp=ED64133DD74D36CC54C2A33689A82260C535DE9F, use_proxy=False, proxy_host=b'127.0.0.1', proxy_port=b'9050'
[GnuPG] _gpg: args: ['/usr/local/bin/gpg', '--batch', '--no-tty', '--homedir', '/var/folders/bh/4sqf928j1673s8f2c_ywl6_40000gn/T/tmpsytb7dve', '--recv-keys', 'ED64133DD74D36CC54C2A33689A82260C535DE9F']
[GnuPG] _gpg: stdout: b''
[GnuPG] _gpg: stderr: b'gpg: could not parse keyserver URL\n'
[GnuPG] import_to_default_homedir: fp=ED64133DD74D36CC54C2A33689A82260C535DE9F
[GnuPG] _gpg: args: ['/usr/local/bin/gpg', '--batch', '--no-tty', '--homedir', '/var/folders/bh/4sqf928j1673s8f2c_ywl6_40000gn/T/tmpsytb7dve', '--armor', '--export', 'ED64133DD74D36CC54C2A33689A82260C535DE9F']
[GnuPG] _gpg: stdout: b''
[GnuPG] _gpg: stderr: b'gpg: could not parse keyserver URL\n'
[GnuPG] import_to_default_homedir: stdout: b''
[GnuPG] import_to_default_homedir: stderr: b'gpg: no valid OpenPGP data found.\ngpg: Total number processed: 0\n'