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

Tor Usage #21

Open
ghost opened this issue Jan 5, 2022 · 1 comment
Open

Tor Usage #21

ghost opened this issue Jan 5, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 5, 2022

Would be nice if it would be documented how to use

XferCommand = /usr/bin/pacman-bintrans -O %o %u --transparency-url https://pacman-bintrans.vulns.xyz/sigs/ --pubkey 'RWSC6c8TVaOYGoe60E+sPiPgumSQENiSNJrBOH6IUYdfmY9xIDJCFXa2'

with Tor - If even possible.

Thanks!

@kpcyrd
Copy link
Owner

kpcyrd commented Jan 7, 2022

This is partially possible, it's briefly documented in the README:

  • --proxy 'socks5h://127.0.0.1:9050' sets a proxy to download transparency proofs and packages
  • --bypass-proxy-for-pkgs if downloading packages through Tor is too slow you can use this option to download packages directly but still use Tor for transparency proofs

Note this only uses Tor for connections by pacman-bintrans itself, not for requests made by the rekor-cli child process. Theoretically you can also use torify so Tor is also used for the connection to the transparency log.

XferCommand = /usr/bin/torify pacman-bintrans -O %o %u --transparency-url https://pacman-bintrans.vulns.xyz/sigs/ --pubkey 'RWSC6c8TVaOYGoe60E+sPiPgumSQENiSNJrBOH6IUYdfmY9xIDJCFXa2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant