archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
113 stars 39 forks source link

recv_gpg_keys: use another key server than keys.gnupg.net #178

Closed yan12125 closed 2 years ago

yan12125 commented 2 years ago

Currently, recv_gpg_keys tries hkp://keys.gnuph.net. That domain is not a real domain name but a hard-coded mapping in gnupg. Currently, the build server has gnupg-2.2.28, in which hkp://keys.gnupg.net is mapped to hkp://hkps.pool.sks-keyservers.net, and the latter is gone. As a result, fetching GPG keys may fail:

gpg: 从公钥服务器接收失败:无名称

gnupg-2.2.29 updates the mapping to a working server, so a short term fix can be updating rge server. In the long term, I suggest to switch to another key server, so that debugging GPG issues is easier, and development of GnuPG will not affect lilac.

lilydjwg commented 2 years ago

Thanks. I didn't know that it's not a real server.

yan12125 commented 2 years ago

Thanks! I didn't know that until yesterday, either :P