Compare commits

...

1 Commits

Author SHA1 Message Date
Jörg Deckert
9734668ed9 fetch-stage3: fix gnupg home directory 2025-03-21 18:04:04 +01:00

View File

@ -34,7 +34,7 @@ def get_manifest(arch, mirror=MIRROR):
manifest = []
url = mirror + '/releases/{0}/autobuilds/latest-stage3.txt'.format(arch)
base_url = mirror + '/releases/{0}/autobuilds/'.format(arch)
gpg = gnupg.GPG(gnupghome="/home/user/.gnupg")
gpg = gnupg.GPG(gnupghome=os.path.expanduser('~') + '/.gnupg')
with urllib.request.urlopen(url) as fp:
text = gpg.verify_file(fp, extra_args=['-o', '-']).data