
Keyserver check not working properly
Reported by Luke Le | October 18th, 2018 @ 03:04 PM | in 0.8.8b1 (closed)
The keyserver check needs to improved. Searching for 0x0000000000000000 will most likely result in a failure since no such key exists. So either the error has been properly interpreted which might be hard, depending on what dirmngr returns or a different solution has to be found. For example searching for a well known key which has existed since forever, checking the server response for sks_www which would indicate that indeed a keyserver is responding.
It might also be a problem with how Libmacgpg checks for the key in general... since now the same keyserver works... even though in both cases it sent a response: hkp://pgp.uni-mainz.de
The following code might also be a problem since it assumes that
no time is necessary to startup dirmngr if it is not already
running, and determines the status of the check after 3 seconds
which might be way too early.
https://github.com/GPGTools/Libmacgpg/blob/78f424a543b9b23ad8ff03cb...
This should be adjusted to a much larger value of 15-20 seconds, since it should only last that long if an error occurs.
Comments and changes to this ticket
-
-
Support October 29th, 2018 @ 05:52 PM
- Tag changed from to #tag id: 460388, name:
Assigned to Tender discussion #11850.
-
Support December 11th, 2018 @ 11:14 PM
- Tag changed from #tag id: 460388, name: to tag id 460388, name
Assigned to Tender discussion #90573.
-
-
Support January 2nd, 2019 @ 11:08 AM
- State changed from new to started
- Milestone set to 0.8.8b1
(from [98852609cf9d9286781194136c1f986b07557129]) Give slow keyservers more time to answer.
[#171 state:started assigned:mento milestone:0.8.8] https://github.com/GPGTools/Libmacgpg/commit/98852609cf9d9286781194...
-
Support January 7th, 2019 @ 02:35 PM
- State changed from started to fixed
(from [80c68f38471dc083060deb84ef8e8e36753d3113]) Fixed the keyserver check for new gpg.
Search for a non-existing key and check the response to see, if the keyserver if working.
This check doesn't test, if the keyserver has any keys. It only tests if the keyserver is answering correctly.
[#171 state:fixed] https://github.com/GPGTools/Libmacgpg/commit/80c68f38471dc083060deb... -
steve January 7th, 2019 @ 03:07 PM
- State changed from fixed to verified
- Tag cleared.
macOS 10.14.2
GPG Suite 2391n
verified -
steve January 7th, 2019 @ 03:07 PM
- Importance changed from Low to Medium
-
steve April 15th, 2019 @ 12:25 AM
- State changed from verified to released
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Referenced by
-
174 keys not existing on key servers trigger error message which makes no sense Seems to be related to changes in gpg 2.2.12 which is als...