URI scheme for Tor
Summary
It is currently impossible to open any website or hidden service trough Tor using QR codes.
Hidden service URLs are quite long, impractical to type over, let alone remember. So i wanted to create a QR code that leads directly to my hidden service.
However, QR codes open an app based on URI scheme, which Tor currently doesn't have. Consequently, any hidden service QR code is opened by your normal browser.
Steps to reproduce:
- Step 1: take an hidden service URL
- Step 2: create a QR code of it.
- Step 3: Scan the QR code with your mobile device that has a Tor browser installed on it.
- Step 4: Watch and observe that a normal browser is opened instead.
What is the current bug behavior?
The current format of a hidden service URL is: "http://myVeryLongHiddenServiceUrl.onion" (where "http://" is hidden, but still appended on copy-paste and bookmarking!)
This is recognized as an "HTTP" URI scheme, which is automatically opened in a normal browser.
What is the expected behavior?
I expected an URI scheme to be available for the Tor browser, or at least for hidden services specifically.
Like this: "tor:http://myVeryLongHiddenServiceUrl.onion"
And of course, also allowing this: "tor:https://duckduckgo.com/?q=Hello+secret+TOR+search"
And in the case that scheme stacking isn't desired, maybe just for hidden services alone: Like this: "tor://myVeryLongHiddenServiceUrl.onion"
Relevant logs and/or screenshots
No, i don't have any screenshots, but i DO have an example.
Open this link in a new tab, and scan the resulting QR code with your phone that has the Tor browser installed: let duckduckgo make a QR code for a hidden service