#171 ✓released
Luke Le

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Referenced by

Pages