kbfs icon indicating copy to clipboard operation
kbfs copied to clipboard

Configure kbfs to use tor-mode

Open stigmergik opened this issue 7 years ago • 8 comments

The keybase command line has the --tor-mode option that makes traffic go through http://fncuwbiisyh6ak3i.onion/. Is there a way to configure KBFS (via config.json?) to do the same? Thanks!

stigmergik avatar Jun 25 '18 18:06 stigmergik

More generally, it would be great if this hypothetical config.json option made sure that all keybase traffic (no matter what client/app in that machine) got routed through tor.

stigmergik avatar Jun 25 '18 18:06 stigmergik

We haven't built this yet, sorry, though I agree it's a good idea if/when we get the time for it.

strib avatar Jun 25 '18 18:06 strib

@strib that's great to know! thanks for the quick reply and for this awesome service :)

stigmergik avatar Jun 25 '18 18:06 stigmergik

Would it be enough perhaps to just wrap every file in /Applications/Keybase.app/Contents/SharedSupport/bin/ in a shell script that called the corresponding binary prepended with torsocks?

stigmergik avatar Jun 25 '18 18:06 stigmergik

Not sure. If you have time to give it a try, please let us know, thanks!

strib avatar Jun 25 '18 18:06 strib

Will do. Related: https://github.com/keybase/client/pull/2925#issuecomment-222720476

stigmergik avatar Jun 25 '18 19:06 stigmergik

Reporting back: I tried this, it didn't work. If anyone wants to dig further you might find this little script useful: https://gist.github.com/stigmergik/0d236e4b2807c85ed69f747f229f2b67

stigmergik avatar Jun 27 '18 00:06 stigmergik

Some good news though: keybase works fine on Whonix =)

stigmergik avatar Jun 28 '18 22:06 stigmergik