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

An Android user can receive orbitdb messages via websocket over Tor. #2

Open
holmesworcester opened this issue Mar 8, 2021 · 0 comments

Comments

@holmesworcester
Copy link
Contributor

holmesworcester commented Mar 8, 2021

In #1 we prove that we can reliably send data over websockets over Tor on Android. Here we prove that we can use the rest of our stack for sending messages, libp2p and OrbitDB, over websockets and Tor on Android.

I think there are two big parts to this:

  1. Get OrbitDB https://github.com/orbitdb/ running on Android in such a way that it can conceivably connect via websockets/Tor.
  2. Get OrbitDB working with websockets/Tor.

The first part might involve running orbitdb in a webview (example) and then figuring out how to manage and connect through Tor.

Or it might involve running node.js on Android and moving over our existing node.js work, though likely there will be missing OS-specific dependencies we need to build for bits of the IPFS stack. See: node.js on mobile
for a starting point.

Or it might involve running IPFS in react native, and getting OrbitDB running on top of that.

Once we have OrbitDB running in some proven way, we then figure out how to hook it up so that it is not connecting to peers using any method other than Tor. That is, we disable all other libp2p transports, only give it onion service peers, and connect to those peers over the libp2p websockets transport.

The orbitdb folks hang out here and are very responsive: https://gitter.im/orbitdb/Lobby

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