claustromaniac / httpz

Fat-free hardenable opportunistic encryption for Firefox
https://addons.mozilla.org/firefox/addon/httpz/
GNU General Public License v3.0
61 stars 5 forks source link

What are the pros and cons of HTTPZ when compared to HTTPS Everywhere? #19

Closed turtlshell closed 5 years ago

turtlshell commented 5 years ago

I stumbled across your add-on over on Reddit and I wanted to know what the benefits / drawbacks are of HTTPZ vs HTTPS Everywhere. This thread, while old, seems to suggest that HTTPS Everywhere isn't exactly perfect. No idea if the contents of what it mentions still stand or not, but regardless, I'm curious as to whether I should swap to HTTPZ.

Thanks in advance!

Mikaela commented 5 years ago

I think https://github.com/claustromaniac/httpz/issues/8 may answer you.

turtlshell commented 5 years ago

That is quite helpful as to showing how HTTPZ isn't really vulnerable to MITM attacks, thanks :) however, it doesn't really outline as many positives / negatives as I assume there are in reality. I could of course be wrong.

claustromaniac commented 5 years ago

Summarizing, HTTPZ automatically determines whether a site supports HTTPS or not, whereas HTTPS Everywhere (which I will refer to as HTTPS-E from here on) uses an internal set of predefined rules.

Advantages of HTTPZ:

Disadvantages of HTTPZ:

I may be missing one or two things, but I hope that helps a bit.

claustromaniac commented 5 years ago

Ah.. I just remembered another disadvantage: some sites support HTTPS only over a different hostname (like http://example.com and https://secure.example.com). These are not common in my experience, but HTTPZ can't handle those for obvious reasons. HTTPS-E correctly redirects those to HTTPS (when there are rules for them in the ruleset).

turtlshell commented 5 years ago

That clears everything up, thanks a lot :+1:

claustromaniac commented 5 years ago

I think it's not an issue with the extensions themselves. Modern browsers tend to disable weak cyphers and algorithms, or warn user about them.

True, that was more of a problem a few years ago. Nowadays Firefox shows a different lockpad icon for unsafe negotiations of keys, mixed content, and other risky scenarios.

So, the best approach would be leaving both HTTPS-E and HTTPZ enabled? How well do they work together at the same time?

Using both at the same time is not something their respective developers (me included) aim to support. I developed this as an alternative to HTTPS-E, so I've never tested them together to see if there are any issues.

That being said, I don't know if this extension can interfere with HTTPS-E in detrimental ways because I didn't give that extension's source code a good look, but I would find it very unlikely for HTTPS-E to interfere with HTTPZ. If you do try to use them together and you notice any issues, let me know. If you don't notice any issues, it's safe to assume there are no issues.