[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #30558 [Applications/Tor Browser]: Namecoin support for onion sites in Tor Browser
#30558: Namecoin support for onion sites in Tor Browser
--------------------------------------+----------------------------
Reporter: arthuredelstein | Owner: JeremyRand
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+----------------------------
Comment (by JeremyRand):
> Electrum-NMC is pulled in via the Python source code tarball on
namecoin.org. That tarball contains source code from various Python
dependencies of Electrum. It would be a lot better to pull in those
dependencies from their upstream source (either Git or tarballs), and then
combine them with Electrum-NMC's source (from Git).
Updated branch at https://notabug.org/JeremyRand/tor-browser-
build/src/namecoin (commit hash
`4b23a0490f49e9c08c63ae5ab3c70d66be84115e`). Electrum-NMC and its
dependencies are now built locally from source, subject to a few
exceptions:
1. PyQt isn't built at all. This doesn't matter for Tor purposes since
Tor isn't going to use the PyQt GUI from Electrum-NMC.
2. Locales aren't built at all. Again, this doesn't matter for Tor
purposes since the Electrum-NMC UI isn't going to be user-facing and
therefore doesn't need to be translated.
3. Protobuf definitions aren't built from source, instead the pre-compiled
Protobuf definitions that Electrum-NMC distributes are used. I'm fairly
sure this isn't a problem since Protobuf is (AFAICT) only used in
Electrum-NMC for the Payment Protocol, and that's not functionality that
Tor will ever need to touch. In fact, I suspect that the Protobuf
dependency can be completely ripped out of Electrum-NMC for Tor
distribution, which will also reduce the final binary size noticeably.
> Prior to a release, I intend to disable IP addresses, so .bit can only
point to a .onion
This is implemented in `4b23a0490f49e9c08c63ae5ab3c70d66be84115e` as well,
though I haven't tested that change very thoroughly yet.
I'm hoping to have some additional updates within the next week or two.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30558#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs