Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download the Tor Browser signing key using requests instead of gnupg #586

Merged
merged 2 commits into from
Jun 21, 2021

Conversation

micahflee
Copy link
Collaborator

This fixes this bug in the Flatpak package: flathub/com.github.micahflee.torbrowser-launcher#21

Instead of running this in a subprocess:

gpg --status-fd 2 --homedir $GNUPG_HOMEDIR --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org

It just downloads the key directly from https://torproject.org/.well-known/openpgpkey/hu/kounek7zrdx745qydx6p59t9mqjpuhdf?l=torbrowser and uses gpg to import it.

It also respects your proxy settings and downloads over Tor if enabled.

… gnupg, and make a new common.proxies() method for downloading WKD key over Tor
@micahflee micahflee merged commit 2b42929 into develop Jun 21, 2021
@micahflee micahflee deleted the wkd-requests branch December 23, 2022 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant