chg: [pgp] default pgp key server updated to openpgp.circl.lu

openpgp.circl.lu is the replacement keyserver of pgp.circl.lu

Signed-off-by: Alexandre Dulaunoy <a@foo.be>
pull/6896/head
Alexandre Dulaunoy 2021-01-20 10:43:41 +01:00
parent 0859f0d060
commit 9edf4c1890
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class GpgTool
*/
public function searchGpgKey($search)
{
$uri = 'https://pgp.circl.lu/pks/lookup?search=' . urlencode($search) . '&op=index&fingerprint=on&options=mr';
$uri = 'https://openpgp.circl.lu/pks/lookup?search=' . urlencode($search) . '&op=index&fingerprint=on&options=mr';
$response = $this->keyServerLookup($uri);
if ($response->code == 404) {
return array(); // no keys found
@ -63,7 +63,7 @@ class GpgTool
*/
public function fetchGpgKey($fingerprint)
{
$uri = 'https://pgp.circl.lu/pks/lookup?search=0x' . urlencode($fingerprint) . '&op=get&options=mr';
$uri = 'https://openpgp.circl.lu/pks/lookup?search=0x' . urlencode($fingerprint) . '&op=get&options=mr';
$response = $this->keyServerLookup($uri);
if ($response->code == 404) {
return null; // key with given fingerprint not found