News for hackers. Stuff that matters.
Re:Opportunistic Encryption for Firefox by Dylan16807 on Saturday March 28, 2015 @04:47PM (#9282695)
> port 443

That's just a default.

>That means it's being encrypted and has been authenticated.

Except that TLS does not always imply encrypted and authentication. You can use TLS with a self-signed cert. You can use TLS with a broken cipher. You can use SSL_NULL_WITH_NULL_NULL. Browsers will helpfully provide things like a slash through the https in cases like this.

Whether the connection is actually encrypted and authenticated is what the vast majority of users care about. I'm not sure how you can call that fluff.

(Now as far as http 2, it's tricky because it's kind of at a lower layer that still runs http on top. And when you're linking to something you don't care about whether that layer exists. So there are pluses and minuses to having http2:// or spdy:// or whatnot. Not that any of that matters, because cocksure middleboxes nearly force it to continue to use http://.)

Re:Opportunistic Encryption for Firefox by jimktrains2 on Saturday March 28, 2015 @10:46PM (#9283681)
> That's just a default.

And your point is? If there is no port specified, that's what it's on if the protocol is HTTPS?

> You can use TLS with a broken cipher. You can use SSL_NULL_WITH_NULL_NULL. Browsers will helpfully provide things like a slash through the https in cases like this.

As they should, because allowing such things to happen automatically is contrary to what the spec is expecting to happen:

> If the hostname does not match the identity in the certificate, user > oriented clients MUST either notify the user (clients MAY give the > user the opportunity to continue with the connection in any case) or > terminate the connection with a bad certificate error.

elsewhere

> In order to prevent this form of attack, users should carefully > examine the certificate presented by the server to determine if it > meets their expectations.

- RFC 2818 "HTTP over TLS" (http://tools.ietf.org/html/rfc2818)

(for the second quote, the User Agent automates that process to make sure the certificate meets trust and expiration and the cipher suite meets exceptions.)