-
Notifications
You must be signed in to change notification settings - Fork 408
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
Update Tor in bundles #487
Comments
Now up to 0.2.8.12. It should be possible to remove the macOS build patch (carefully, making sure to test pre-sierra). 0.2.8.12 fixes a medium-severity hidden services issue, but it will not crash Ricochet's builds, is not exploitable, and doesn't demand any particular urgency. |
Why not let user to choose other tor(or tor.exe)? Also, please consider moving tor to "tor" folder. ricochet/tor/ <-- removable folder. If removed, Ricochet will ask user to specify tor's location.
|
^
|
Not really on-topic for the issue, but:
This is already possible, see https://github.com/ricochet-im/ricochet/blob/master/src/tor/TorManager.cpp#L274. |
@rburchell |
As much as I agree with you and welcome that option, you should notice that having tor bundled with ricochet is more user-friendly and ensures that the user only has to care about having the latest ricochet release. As one of ricochet's goals is being "easy for non-technical users" (see README.md), this could be approached in one of two ways:
If you use ricochet from a distro's repos this is already mitigated by having tor as a dependency. |
Being "easy for non-technical users" is a good thing, of course. I suggest
I'm using TBB, and I use my own tor instance(didn't use TBB's tor).
|
On windows, firewall configuration sample: Current: Expected: |
I am bumping my bounty on this from $50 (#538) to $100. Please view (spesmilo/electrum#2405 (comment)) for another bounty that I am currently paying off. |
I am glad tor comes bundled inside the Ricochet app.
From the perspective of the developers of Ricochet (tor, etc…) what are the problems, or are there major problems, with merely copying tor out of the Tor Browser package? Is tor for Ricochet compiled in any special way that makes it potentially harmful to do the following? Or perhaps there are APIs which Ricochet uses against 0.2 tor that are gone or changed intentionally or unintentionally by the tor 0.3 branch? (For the sake of allowing less technical to follow along too…) First I quit both Ricochet and Tor Browser. Leaving that window open, make a new Finder window to Moving latest tor from Tor Browser to Ricochet ________ Of course I encourage people to use the Tor Browser, but in terms of updating Ricochet, you're done with Tor Browser and Ricochet can now be launched as you normally do. Checking it Works ________ Ricochet 1.1.4 ships with tor 0.2.8.9, so it was kind of a big update of tor. Minor Problems ________ I could write up better directions with screen shots for novices, and build in support for others who have take misc. stabs at the same, for example https://user-images.githubusercontent.com/42108382/48978307-8e252500-f0a1-11e8-8726-c526e4197578.png Version 0.2.9.17 (see https://trac.torproject.org/projects/tor/wiki/org/teams/NetworkTeam/CoreTorReleases) is the latest 0.2 branch with LTS, Long Term Support. Should I have updated my tor core to that one instead of the 0.3 branch I copied from Tor Browswer? In case anyone is wondering, after performing this surgery, LittleSnitch (https://obdev.at/) on macOS 10.11 did't put up any alerts, neither did the OS. On macOS 10.12, LittleSnitch put up a detailed dialog stating the previous rule had been for a binary signed by a different entity, then asked me what to do. Updating the rule worked fine. On macOS 10.14 LittleSnitch also put up a dialog, a bit more strenuous of a warning, but also a more user friendly description. |
Work is ongoing here: I think a version without Tor bundled could be beneficial for the developers to keep maintenance easier, but also for Qubes users to be able to run the IM in a VM with |
ในวันที่ ศ. 1 มี.ค. 2019 04:41 น. acb <[email protected]> เขียนว่า:
… I am glad tor comes bundled inside the Ricochet app.
- It consumes minimal resources.
- It comes signed on macOS.
- Makes Ricochet.app self-contained & easy to install.
- And possibly one more option I’m about to ask about, updating it
manually seems fairly easy.
From the perspective of the developers of Ricochet (tor, etc…) what are
the problems, or are there major problems, with merely copying tor out of
the Tor Browser package? Is tor for Ricochet compiled in any special way
that makes it potentially harmful to do the following? Or perhaps there are
APIs which Ricochet uses against 0.2 tor that are gone or changed
intentionally or unintentionally by the tor 0.3 branch? (For the sake of
allowing less technical to follow along too…)
First I quit both Ricochet and Tor Browser.
• Open the /Applications folder.
• Context (right) click on the Ricochet app and choose Show Package
Contents. Click a few times to get to the path below or copy it, press
cmd-shift-G (or Finder > Go > Go to Folder…), paste it in, and hit return.
/Applications/Ricochet.app/Contents/MacOS/
In there are the Ricochet & tor binaries.
• Trash tor.
Leaving that window open, make a new Finder window to /Applications and
(requires https://www.TorProject.org/download/download-easy.html.en
installed) right click Tor Browser > Show Pack Contents, etc… until you're
here:
/Applications/Tor Browser.app/Contents/MacOS/Tor/
Adjust this new window so you can see the window from the previous
operation.
Moving latest tor from Tor Browser to Ricochet ________
• Select everything inside the Tor folder, hold down the option key, and
drag them into the /Applications/Ricochet.app/Contents/MacOS/ folder. (Or
copy any other way you'd like.)
• Rename 'tor.real' to 'tor' and you're done.
• Close both windows.
(As of Tor Browser 8.0.6 this means you copied libevent-2.1.6.dylib, a
folder called PluggableTransports, and tor.real which you just renamed.)
Of course I encourage people to use the Tor Browser, but in terms of
updating Ricochet, you're done with Tor Browser and Ricochet can now be
launched as you normally do.
Checking it Works ________
I double checked the new tor is (apparently) working by (menubar) Ricochet
> Preferences > Tor (tab) and I was glad to see everything reporting
normally. Running: Yes. Control connected: Yes. Circuits established: Yes.
Hidden service: Online. Version: 0.3.5.7
Ricochet 1.1.4 ships with tor 0.2.8.9, so it was kind of a big update of
tor.
Minor Problems ________
The only problem I encountered in my very limited testing, were pending
invitations broke. So I had to delete them and make them again.
I could write up better directions with screen shots for novices, and
build in support for others who have take misc. stabs at the same, for
example
https://user-images.githubusercontent.com/42108382/48978307-8e252500-f0a1-11e8-8726-c526e4197578.png
Version 0.2.9.17 (see
https://trac.torproject.org/projects/tor/wiki/org/teams/NetworkTeam/CoreTorReleases)
is the latest 0.2 branch with LTS, Long Term Support. Should I have updated
my tor core to that one instead of the 0.3 branch I copied from Tor
Browswer?
In case anyone is wondering, after performing this surgery, LittleSnitch (
https://obdev.at/) on macOS 10.11 did't put up any alerts, neither did
the OS.
On macOS 10.12, LittleSnitch put up a detailed dialog stating the previous
rule had been for a binary signed by a different entity, then asked me what
to do. Updating the rule worked fine.
On macOS 10.14 LittleSnitch also put up a dialog, a bit more strenuous of
a warning, but also a more user friendly description.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#487 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ao57yRxHt_39P3NQ50rc_gkotYQ_77aMks5vSE0IgaJpZM4LC3uh>
.
|
This bug is about upgrading the bundled Tor to something more recent. Originally, this was about 0.2.8.10, but some other releases have come out subsequently, so I'm hijacking this to serve as a catch-all "we need to update Tor" bug.
Tor 0.2.8.10 is out, with some bugfixes that are relevant to ricochet:
This probably isn't worth a release on its own, but we should make a release relatively soon to include these fixes.
The text was updated successfully, but these errors were encountered: