mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-11-23 09:29:42 +00:00
Download key using web key directory from torproject.org instead of keyservers
This commit is contained in:
parent
d6343012b4
commit
12ac68ecd8
@ -193,10 +193,11 @@ class Common(object):
|
||||
else:
|
||||
print('Refreshing local keyring...')
|
||||
|
||||
# Fetch key from wkd, as per https://support.torproject.org/tbb/how-to-verify-signature/
|
||||
p = subprocess.Popen(['/usr/bin/gpg2', '--status-fd', '2',
|
||||
'--homedir', self.paths['gnupg_homedir'],
|
||||
'--keyserver', 'hkps://keys.openpgp.org',
|
||||
'--refresh-keys'], stderr=subprocess.PIPE)
|
||||
'--auto-key-locate', 'nodefault,wkd',
|
||||
'--locate-keys', 'torbrowser@torproject.org'], stderr=subprocess.PIPE)
|
||||
p.wait()
|
||||
|
||||
for output in p.stderr.readlines():
|
||||
|
Loading…
Reference in New Issue
Block a user