Ethereum Title Service (ENS), a distributed, open, and extensible naming system primarily based on the Ethereum blockchain, introduced that it now helps the decision of Tor .onion addresses.
The Tor community is part of the web that hides the IP addresses of customers. It may be accessed with the Tor Browser, managed by the Tor Undertaking. Anybody can arrange web sites which can be solely accessible by way of the Tor community, referred to as onion providers. Tor-only internet addresses finish with “.onion,” however in any other case the remainder of the deal with is randomly generated.
For instance, to entry the onion model of the privacy-centric search engine Duck Duck Go, in a Tor Browser (this won’t work in a traditional browser) go to https://3g2upl4pq6kufc4m.onion/.
Enter the ENS Resolution
Making an attempt to get human-readable .onion addresses has been an ongoing downside for a few years, given considerations over safety. Since ENS is a decentralized naming service that runs as a set of smart-contracts on the Ethereum blockchain, ENS is usually a useful instrument to unravel this downside.
Open the Tor Browser
Allow the Ethereum browser extension MetaMask
Enter the next instance ENS title into the deal with bar and hit Enter: duckduckgotor.eth (the ENS workforce set this up not too long ago to point out off the brand new functionality)
Wait just a few seconds whereas ENS, Metamask, and the Tor Browser course of the knowledge, and shortly the onion model of Duck Duck Go will load efficiently.
The way it Works
A glance beneath the hood:
After coming into duckduckgotor.eth within the deal with bar of the Tor Browser, MetaMask acknowledges that duckduckgotor.eth is an ENS title and so prevents the browser from treating it as a search or regular DNS title.
MetaMask does a look-up on ENS on Ethereum, grabbing the .onion deal with for Duck Duck Go within the “Content material” area (the identical area that additionally accepts IPFS and Swarm hashes) within the ENS document for duckduckgotor.eth and returning it to the deal with bar within the Tor Browser.
Since what’s returned is a .onion deal with, the Tor Browser then navigates to the onion web site at that deal with.
To arrange an ENS title to resolve to a .onion deal with, one first must get an ENS title. The .eth title might be registered with the ENS Supervisor in an Ethereum-enabled browser and a few Ether (ETH) will probably be wanted.
Secondly, arrange an ENS document. This may also be accomplished with the ENS Supervisor in an Ethereum-enabled browser and a few ETH. For the ENS document, set the Resolver to the “Public Resolver” (the usual ENS recordset).
Then set a “Content material” document that claims “onion:// (insert .onion deal with with out the .onion ending).
As soon as the information set to this document is confirmed, the method is full. Now, when opening up the Tor Browser with MetaMask enabled, kind within the ENS title, and it ought to instantly be able to resolve to the .onion deal with positioned within the document.