Switch to keyserver.ubuntu.com for linking key IDs

pool.sks-keyservers.net no longer exists
This commit is contained in:
Christoph Reiter
2021-06-26 12:25:36 +02:00
parent a6117d7d2c
commit 07088bd6e6
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class Signature(NamedTuple):
@property
def url(self) -> str:
return "http://pool.sks-keyservers.net/pks/lookup?op=vindex&fingerprint=on&search=0x" + self.keyid
return "https://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0x" + self.keyid
@property
def name(self) -> str:

View File

@@ -74,7 +74,7 @@ def test_pgp():
assert sig.keyid == "5f92efc1a47d45a1"
assert sig.date == datetime.datetime(2020, 2, 24, 9, 35, 35)
assert sig.name == "Alexey Pavlov"
assert sig.url == "http://pool.sks-keyservers.net/pks/lookup?op=vindex&fingerprint=on&search=0x5f92efc1a47d45a1"
assert sig.url == "https://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0x5f92efc1a47d45a1"
def test_parse_packager():