Allow requests to hidden services with HTTP Nowhere#4370
Conversation
| <!ENTITY https-everywhere.menu.globalEnable "Enable HTTPS Everywhere"> | ||
| <!ENTITY https-everywhere.menu.globalDisable "Disable HTTPS Everywhere"> | ||
| <!ENTITY https-everywhere.menu.blockHttpRequests "Block all HTTP requests"> | ||
| <!ENTITY https-everywhere.menu.blockHttpRequests "Block all unencrypted requests"> |
There was a problem hiding this comment.
I think if you want a new translation here you're going to need to create a new item.
There was a problem hiding this comment.
Hm, yeah, that would be a lot nicer.
This excludes .onion hostnames from the main HTTP Nowhere request block. It also updates the HTTP Nowhere label to reflect the change. This fixes #4118
This gives the relevant i18n variable a more natural name and also has the advantage of not messing with existing translations.
|
I understand the motivation, but since These concerns are being addressed by Tor, but the improved hidden service crypto hasn't been built out yet. |
This is a little bold-sounding to me: certainly, consensus these days is towards SHA-1 deprecation, but to my knowledge, no actual collisions have been described yet. Now, correct me if I'm wrong, but recalling the CA/B conditions for issuance of certificates for onion services, what would keep our SHA-1 colliding attacker from obtaining a signature for their duped service on the same grounds as the legit one? Wouldn't taking that as a premise imply that we should also restrict access to TLS-secured onion services? |
Currenly |
|
Afaik, the current conditions are exactly those linked above. |
|
Ballot 144 of the CA/B forum, which passed in February last year, states the requirement:
and
|
|
Indeed; afaict this does not take into account the case of two legitimate claims to the same hash. Also, if I recall correctly (but I didn't go source hunting), directory servers disallow duplicate hashes with differing public keys, so that it would never actually occur in practice (is that right?). |
|
I'm okay with merging this, since it does give some cryptographic guarantees. However we should keep in mind moving forward that these guarantees are using weaker ciphers than almost all signatures being used by CAs today. In the future, as |
|
But again, if directory servers explicitly disallow duplicate hash entries if public keys disagree, why is collision an issue? |
|
Were you able to find whether this is true? How is the canonical service established - is it the first that is advertised? |
|
I couldn't find any proper documentation, unfortunately no, and I came across sources claiming that dupes would be rejected, and others claiming that the most recent entry wins. Someone should cook up a proper preimage attack and test it. ;) Coming back to the other point though, assuming that one can take over the hostname, how would TLS certificates help when the host is taken over? As far as I can tell from the guideline, there is no protection from that happening at all (and indeed that appears to have been one of the concerns during that ballot). In any case, something else we could do would be to have this be disjoint from HTTP Nowhere, offered as a separate option in Tor Browser. |
This excludes .onion hostnames from the main HTTP Nowhere request block. It also updates the HTTP Nowhere label to reflect the change (but perhaps a better wording exists?).
The change is tested in Tor Browser 5.5.3 in which it does what is intended.
This fixes #4118
Note: Since this changes the name of a i18n string, a pull of the PR needs to be synced with the translations submodule.