lit
lit copied to clipboard
Connecting lit over tor
Building upon @metalicjames's PR #203, we can add connections via tor as well. A significant downside of this is that now the party that wants to connect should know the onion address of the receiver, but I guess that's the only cost of improved anonymity, so it should be acceptable.
Currently, I have a straw man implementation, but it needs to wait for other changes to be merged because it moves things around a bit. Might take the time to rework the PR and look at where we can make improvements. Might be nice to autogenerate the torrc file as well, since people might get the configs wrong.
Short update on this: Stuff is mostly cleaned up and ready, but there's a potential bug in tor when proxying localhost via HiddenServicePort, once I discuss that with the tor devs, I'll PR. Branch over at https://github.com/Varunram/lit/tree/tor in case anyone wants to try this right away.