Switch to keyserver.ubuntu.com for linking key IDs
pool.sks-keyservers.net no longer exists
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user