News for hackers. Stuff that matters.
Re:Intent to deprecate: Insecure HTTP by josho on Monday April 13, 2015 @02:03PM (#9369258)
What is the point? If you need a secure connection then use https, if there is no value securing the connection then use http. Why deprecate a working technology that continues to have many valid use cases?

As an analogy this strikes me as deprecating an array for a linked list because a list has certain features that array's don't. Ie. there is a time and place for both.

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:21PM (#9369370)
It will just make it easier to create walled gardens, and charge companies and individuals for certificates. It will also pretty much get rid of privacy, since to get the cert you will need to provide someone with your detailed information. Using self-signed certs will become harder. Yes, it's a good idea to use https _almost_ everywhere, but forcing everyone to use it is a terrible, stupid idea.
Re:Intent to deprecate: Insecure HTTP by pfg on Monday April 13, 2015 @02:35PM (#9369466)
> It will just make it easier to create walled gardens, and charge companies and individuals for certificates.

letsencrypt.org will solve this problem.

> It will also pretty much get rid of privacy, since to get the cert you will need to provide someone with your detailed information.

That's something that applies to buying/owning a domain as well. Domain-verified certificates require very little private information, and I suspect letsencrypt.org might be able to provide a way to get trusted certificates without giving up privacy.

> Using self-signed certs will become harder.

How so? The proper way to use self-signed certificates would be to distribute them in a safe way (e.g. deploy them through your Active Directory Domain, provide the fingerprint through a separate channel, etc.) and install them in your trust store. I couldn't find any intended changes to this in their announcement.

> Yes, it's a good idea to use https _almost_ everywhere, but forcing everyone to use it is a terrible, stupid idea.

I agree that it should be a slow process, and I think that's exactly what they're suggesting. Eventually, when the tooling and processes around SSL/TLS catch up with the new "encrypt everything" mentality, it would probably be no big deal to deprecate almost every use-case of HTTP without SSL/TLS.

Re:Intent to deprecate: Insecure HTTP by spdustin on Monday April 13, 2015 @03:56PM (#9370020)
Can we please stop saying "letsencrypt.org will solve this" until letsencrypt.org is actually solving this?
Re:Intent to deprecate: Insecure HTTP by pfg on Monday April 13, 2015 @04:35PM (#9370302)
Why? We're discussing long-term changes to how HTTP without encryption should be handled. I think an upcoming project with major impact on the availability of certificates should be a factor in this discussion. Besides, it's not like letsencrypt will be the first CA to offer free certificates - StartSSL has been doing it for years, although letsencrypt obviously has a different approach.
Re:Intent to deprecate: Insecure HTTP by chc on Monday April 13, 2015 @05:00PM (#9370465)
> Why? We're discussing long-term changes to how HTTP without encryption should be handled. I think an upcoming project with major impact on the availability of certificates should be a factor in this discussion.

Because Let's Encrypt might solve this well, or it might not solve it well, or it might never even be released. At the moment, factual statements about what effect Let's Encrypt will have on the world are similar to "$(THIS_YEAR+1) will be the year of Linux on the desktop."

Re:Intent to deprecate: Insecure HTTP by ciupicri on Monday April 13, 2015 @02:38PM (#9369488)
Let’s Encrypt does not even provide a RPM for Fedora or RHEL yet or at least there's no mention of it on the front page [1].

[1]: https://letsencrypt.org/howitworks/

Re:Intent to deprecate: Insecure HTTP by TheHippo on Monday April 13, 2015 @02:59PM (#9369634)
There is an open protocol[1] on how to retrieve the certificates, so you can implement a client in a language of your choice, or wait until someone else does it.

[1]: https://github.com/letsencrypt/acme-spec

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:04PM (#9378503)
That comment was about package management (i.e. actually installing this on servers), not about language implementations. Let's Encrypt's documentation currently assumes a Debian-based operating system, which therefore leaves out a very large portion of the web server population.
Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:40PM (#9369506)
letsencrypt.org is not even working, and it seems to be Linux only, at least for now. What about other OSs?
Re:Intent to deprecate: Insecure HTTP by pfg on Monday April 13, 2015 @02:52PM (#9369596)
That's why I said "will solve". For now, you can use startssl.com for (non-commercial) free, trusted certificates.

Mozilla is one of the backers behind letsencrypt. I'm sure they won't be deprecating anything until well after it is up and running. This was an email to the Mozilla community asking for feedback, not an announcement of any major deprecations in the next version of Firefox.

Letsencrypt is based on an open protocol [1], I'm sure there will be implementations for all major platforms.

[1]: https://letsencrypt.github.io/acme-spec/

Re:Intent to deprecate: Insecure HTTP by blowski on Monday April 13, 2015 @02:39PM (#9369497)
> It will also pretty much get rid of privacy, since to get the cert you will need to provide someone with your detailed information.

If you're using a self-signed certificate, you don't need to provide information to anyone.

> Using self-signed certs will become harder.

Why?

I haven't given this much thought yet, but these don't sound like convincing arguments against the proposition.

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:43PM (#9369521)
Because all of the modern browsers already make it harder for users to use them. It will only get worse.
Re:Intent to deprecate: Insecure HTTP by scrollaway on Monday April 13, 2015 @04:53PM (#9370425)
I'm having a very hard time picturing anyone having such a blatantly wrong and FUD-filled opinion as anything else than either a joke or a NSA shill.

Care to convince me otherwise?

Re:Intent to deprecate: Insecure HTTP by jacquesm on Monday April 13, 2015 @05:15PM (#9370564)
Please do not accuse users of being 'shills' (for the NSA or otherwise) alert the mods ([email protected]) instead if you are fairly sure about it.
Re:Intent to deprecate: Insecure HTTP by mariusz79 on Tuesday April 14, 2015 @01:42PM (#9375958)
Hear that NSA? where is my check for this week?

Edit: never mind. Mailman was late.. got it now!

Re:Intent to deprecate: Insecure HTTP by IgorPartola on Monday April 13, 2015 @02:43PM (#9369527)
The point is that HTTP to HTTPS is what telnet is to ssh. There are no use cases for HTTP where HTTPS cannot fill that need. With free certificates available now, and more coming, there is no reason to not use HTTPS because of cost. The only valid reason I can see to continue supporting HTTP in some form is for legacy devices (consumer routers, printers, etc.) that don't yet do HTTPS. My 5 year old printer does HTTPS, so we should be able to get rid of these devices soon.
Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:57PM (#9369621)
Did you know that there are still valid use cases for devices that have less 512kb of ram that can be access over http?
Re:Intent to deprecate: Insecure HTTP by IgorPartola on Monday April 13, 2015 @02:59PM (#9369635)
I did. I work with these, time permitting. For these devices we have a range of options, including having the central station support plain HTTP, or having a special legacy mode in the browser. These devices should not hold back HTTPS adoption on the web.

Edit: I bet there are 1000x more IE6 users, than users of these devices. Shall we support IE6 until every single of it's users upgrade?

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Tuesday April 14, 2015 @09:18AM (#9373952)
We're not talking about some JS framework but about an established internet protocol. If I want I can spend time and still support IE6 users, and no browser will prevent me from doing that. That's not the case with this proposal.
Re:Intent to deprecate: Insecure HTTP by realusername on Monday April 13, 2015 @04:43PM (#9370354)
I've worked on this kind of device. You can rarely use them directly anyway, you need some kind of reverse-proxy/caching to use them otherwise they will crash if to many people are connecting on it directly. Anyway, these kind of device are rarely connected to the outside world so on the worst case, HTTP is still not a problem on an internal network.
Re:Intent to deprecate: Insecure HTTP by mariusz79 on Tuesday April 14, 2015 @08:14AM (#9373577)
I work with them every day, and the point of having HTTP server is not to allow many people to connect to them but one person, or script to do it once in a blue moon without a need to install any software. If HTTP is removed from browsers, this will simply not be possible anymore
Re:Intent to deprecate: Insecure HTTP by IgorPartola on Tuesday April 14, 2015 @11:29AM (#9374973)
Look, you are clearly a minority (developer who works with HTTP-enabled limited RAM devices). Why should we hold back the progress of the web to cater to your very specific use case? Why should my grandmother be subjected to phishing attacks and injected ads because your situation would be slightly inconvenienced by dropping plain HTTP from popular browsers?

Also, you are a developer. I am sure we can figure out some way for developers to re-enable plain HTTP in some hidden settings. That way people like you and me can continue to do what we do, while the rest of the web users are enjoying the benefits of being more secure by default.

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Tuesday April 14, 2015 @11:46AM (#9375103)
Why should my embedded system have to support unnecessary functionality? Just so your grandmother is safer from phishing attack?

I'm a developer, but my clients are not.

Re:Intent to deprecate: Insecure HTTP by IgorPartola on Tuesday April 14, 2015 @12:02PM (#9375209)
Nobody is asking your embedded systems to support unnecessary functionality. At worst, you are going to have to one time go to about:config and change enable_plain_http from 0 to 1. Then for you life goes on as before. Is that too much to ask for much greater security for everyone involved?
Re:Intent to deprecate: Insecure HTTP by mariusz79 on Tuesday April 14, 2015 @01:28PM (#9375853)
Just like I can disable javascript? Oh wait, I can't! Does having ftp support in firefox affect anyone's security? Getting rid of HTTP will in best case make people think that they are more secured, that's all. Most of the malware that is active today propagates not because HTTP is unsecure, but because we made the web an Advertisement Delivery System. Malware now attacks browsers, through Flash, Javascript and Java.. first fix this before you start working on getting rid of an established protocol.
Re:Intent to deprecate: Insecure HTTP by IgorPartola on Tuesday April 14, 2015 @03:39PM (#9376756)
Once again, telnet was an established protocol, yet we got rid of it. I am sure people presented passionate arguments in favor of keeping telnet forever, saying that there are other threats on the Internet.

Getting rid of HTTP will make people more secure. It will ensure that basically all sites people visit will be protected by a trusted cert.

Note that nobody is talking about installable malware here. We are talking about protecting the web. For example, if your connection to news.ycombinator.com is protected by HTTPS, this makes it that much more difficult for the NSA to spy on you, or for me to insert a goatse into the content while you are at work, and I am sitting in the next office over form you.

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:09PM (#9378515)
> Once again, telnet was an established protocol, yet we got rid of it.

No we didn't. Telnet is still pervasive as a communications protocol, partly because of its simplicity and partly because of its momentum. This is particularly true in the realm of embedded devices; even rather-modern enterprise-grade HP printers (for example) open up a Telnet port for terminal-driven configuration by default.

Re:Intent to deprecate: Insecure HTTP by _delirium on Monday April 13, 2015 @05:05PM (#9370498)
The analogy doesn't seem close to me. The problem with telnet is that it was used for connections intended to be authenticated, but they were authenticated very poorly, by sending a cleartext login/password. That is easy to compromise, so it needed to be replaced with a better authentication method. If telnet were normally used without any authentication at all, e.g. only for guest-type access to BBSs, then the case to replace it would have been much weaker.

The analogous case might be if you're doing plaintext password authentication over HTTP. I agree that for that use-case you should switch to HTTPS.

Re:Intent to deprecate: Insecure HTTP by IgorPartola on Monday April 13, 2015 @11:18PM (#9371938)
I wholeheartedly disagree. Any content should be delivered over an encrypted channel because any content site can be used to launch an attack on the user os site owner if the data in transit can be tempered with. Passwords and session keys are just a small subset (though admittedly a valuable one) of the stuff you may go after. For example, do you want the FBI putting you on a tracking list because you googled something they consider suspicious just out of curiosity? Do you want a rival of yours messing with how your resume you publish on your personal site is presented to Google or potential employees. Do you want to read man pages that tell you how to run commands over an unauthenticated connection? Do you want Pillsbury to double the amount of their ingredients you need for a chicken pot pie? There is almost no use case where content should remain unprotected.

Apple.com is a great example of this. It's served over plain HTTP, and likes to http://store.apple.com. Can I intercept that link and send you to http[s]?://store.appl.com or http[s]://store.apple.con? I can then grab your credit card. Heck, I could process your order so you won't even know something went wrong. Or how would it look if suddenly people started getting a goatse instead of the latest video of Jony Ivy tilting his head to the side?

Re:Intent to deprecate: Insecure HTTP by josho on Tuesday April 14, 2015 @11:07AM (#9374811)
Then your issue is with sites that host content on http, and the solution is to address the content hosts—not deprecate a protocol. Besides, If you can MITM http then you can probably do the same for DNS, so https doesn't really solve the attack vector you mention.

Finally, Read this thread for use cases for http. They may not apply for you, but are sufficient that I think we can keep http around for awhile longer.

Re:Intent to deprecate: Insecure HTTP by IgorPartola on Tuesday April 14, 2015 @11:35AM (#9375021)
There are no use cases where HTTP is more capable than HTTPS. There are some hurdles in dropping HTTP, but HTTPS is a strict improvement for almost all cases. The only argument I can see for plain HTTP is legacy devices that no longer receive updates. For these, a UI similar to the self-signed cert warning will work.

My problem is that we still allow plain HTTP. That should never be the case, just like we should not use telnet for remote server access.

DNS hijacking is a problem. It is a problem at a different layer of the system. Just because that layer is vulnerable, does not mean that we should leave a gaping security hole at a different layer. I don't buy the argument that we must have perfect security or no security. Besides, there are ways to mitigate the DNS hijacking issue, such as the HSTS header.

Re:Intent to deprecate: Insecure HTTP by mabbo on Monday April 13, 2015 @02:09PM (#9369293)
Can you list some of the use cases where you can do something using HTTP that you can't using HTTPS? I had always assumed one was a superset of the other, feature-wise.

As long as HTTPS offers all features of HTTP, then the reason to deprecate HTTP is to prevent accidental use of it, and websites which don't know/care from leaving their users vulnerable.

Re:Intent to deprecate: Insecure HTTP by dheera on Monday April 13, 2015 @02:16PM (#9369343)
Things you can do with HTTP that you can't do with HTTPS:

* Create a website for free (you have to pay for certificates to use HTTPS)

* Report sensor data from small embedded devices with extremely limited CPU

* Your JS can talk to APIs that don't yet support HTTPS (e.g. NextBus). If your serve your JS over HTTPS, your browser will complain if you try to access a HTTP-only API.

* Transfer large files at gigabit speeds on consumer-grade hardware

Re:Intent to deprecate: Insecure HTTP by mike_hearn on Monday April 13, 2015 @02:26PM (#9369411)
> Create a website for free (you have to pay for certificates to use HTTPS)

No you don't. You can get free certificates.

But even if that was true, it's still a misleading argument. You can only make a website for free if you are OK with your website not having a domain name and running it off your personal laptop with electricity paid for by your roommates/parents. For any actual website, there are already a multitude of real costs of which a certificate is just one more.

> Report sensor data from small embedded devices with extremely limited CPU

If your CPU is really so limited then why are you using HTTP at all? Use a custom binary protocol with or without encryption as appropriate.

> Your JS can talk to APIs that don't yet support HTTPS (e.g. NextBus).

Then those APIs suck - avoid them and/or ask the providers to get with the program.

> Transfer large files at gigabit speeds on consumer-grade hardware

AES-NI can decrypt at 3.5 cycles per byte. With modern consumer grade hardware you will not find symmetric streaming crypto to be a serious bottleneck.

Re:Intent to deprecate: Insecure HTTP by dragonwriter on Monday April 13, 2015 @02:48PM (#9369562)
> You can only make a website for free if you are OK with your website not having a domain name and running it off your personal laptop with electricity paid for by your roommates/parents.

Actually, if you are willing to do without your own second-level domain name and just have a third- or fourth-level domain name, there are plenty of services where you can have a free web site (or app) running of over HTTP. E.g., any number of free (or free-within-limited-quota) static site hosting services, or even Google App Engine.

Of course, in the Google App Engine case, you also get HTTPS for free (within usage quota), as long as you are willing to have an <app>.appspot.com domain name, so the "create a website for free" isn't really a "with HTTP, but not HTTPS" thing.

Re:Intent to deprecate: Insecure HTTP by dheera on Monday April 13, 2015 @03:23PM (#9369801)
Sure, although GAE is blocked in China. AWS works, and has a free tier that will get by for a year, but doesn't give you free certificates.

Also, for a lot of newbies, installing SSL certificates is a PITA.

0. You realize you need a SSL certificate. You're presented with a dizzying variety of options and already lost. Are you supposed to get Positive SSL, Negative SSL, Essential SSL, Comodo SSL, Start SSL, Wildcard SSL, EV SSL, Rapid SSL, Slow SSL, or EV SSL aux Mille Truffles et Champignons? Most newbies ask, "Why isn't there a simple [click here to get HTTPS certificate] button?"

1. You get your certificates by e-mail, but you still can't install them directly. Your webserver wants a .pem file, so you Google "How do I create a PEM file". The top 10 tutorials tell you to concatenate THREE files: your_domain_name.crt, DigiCertCA.crt, and TrustedRoot.crt in that order. What you received by e-mail was FOUR files: AddTrustExternalCARoot.crt, COMODORSAAddTrustCA.crt, COMODORSADomainValidationSecureServerCA.crt, and your_domain_name.crt. You're lost, no tutorial is helping with what to do with FOUR files instead of THREE, in what order to concatenate them, and StackOverflow bans your question. You're fed up, quit, and use HTTP. (Not me; I'm describing an actual case of observing someone else's frustration trying to set up HTTPS.)

The only way HTTPS will gain popularity is if we can get rid of the certificate-issuing economy and make it easy for newcomers. The majority of content creators unfortunately do not understand the basics of security nor can we expect them to have the patience to learn it.

Re:Intent to deprecate: Insecure HTTP by dheera on Monday April 13, 2015 @04:49PM (#9370401)
@Hello71 That was funny :) But with all due respect,

    apt-get install apache2
or even opening up Ubuntu's GUI package manager and clicking Apache and then "Install" gets you a running webserver, zero questions asked. SSL certificates are a longshot from that. You're bombarded with questions throughout the process; I still can't memorize the command to generate a CSR. Also, from the perspective of achieving the objective of sharing content with the world, a website is a necessity while SSL is optional. In general, optional things that want to succeed need to be dead zero friction. Necessities like web servers can be hard and people will still get them because there's no alternative.

When Ubuntu can get you a working SSL web server, CSRs generated, certificates all auto-signed by authorities, set up and ready to go, zero questions asked, with

   apt-get install apache2
that will be the day HTTPS will outshine HTTP. Yes, I know cryptographers are tearing their hair out at the thought of "auto-signed", but it would be a hell of a lot more secure world than now, because people would at least use HTTPS, rather than now, when the process is just seriously too much for most people that they end up resorting to HTTP instead. Better of two evils.

Alternatively, browsers should not throw huge error messages about self-signed certificates. They should just do what SSH does instead: display the fingerprint, ask yes/no, store the fingerprint, and warn the user if the fingerprint changes in the future.

Re:Intent to deprecate: Insecure HTTP by FullyFunctional on Tuesday April 14, 2015 @02:57AM (#9372523)
That. I have managed to get through the steps but there was nothing simple about it and I wouldn't be able to replicate it without looking it all up again. Unfortunately, SSL isn't even an option on my el-cheapo shared webhosting service (as I understood it, it needs a dedicated precious IPv4 address).

Contrast this with Dan J. Bernstein's wonderful CurveCP. It's so simple to set up and requires no CA involvement; you just need to be able to add a NS server entry.

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:24PM (#9378561)
> as I understood it, it needs a dedicated precious IPv4 address

A good webserver would actually be able to provide multiple SSL certs on a single IP address by using "Server-Name Indication" (SNI). This is definitely (as far as I know) supported on nginx, and probably supported by Apache's httpd.

Re:Intent to deprecate: Insecure HTTP by Hello71 on Monday April 13, 2015 @04:38PM (#9370327)
0. You realize you need an HTTP server. You're presented with a dizzying variety of options and already lost. Are you supposed to get Apache, Navajo, NGINX, IIS, Jetty, lighttpd, heavytpd, httpd, or ApacheNavajoNGINXIISJettylighttpdheavytpdhttpd? Most newbies ask, "Why isn't there a simple [click here to get HTTP server] button?"

1. You get your server by wget, but you still can't install it directly. Your OS wants an executable file, so you Google "How do I create an executable file". The top 10 tutorials tell you to use some software called Eclipse, but that needs some kind of "JVM". What you received in the archive was some ".c" crap. You're lost, no tutorial is helping with what to do with .c files, in what order to concatenate them, and StackOverflow bans your question. You are not fit to operate a computer. (I made this story up too.)

The only way HTTP will gain popularity is if we can get rid of the different servers available and make it easy for newcomers. The majority of content creators unfortunately do not understand the basics of security nor can we expect them to have the patience to learn it.

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:21PM (#9378552)
It actually is (or at least was; it's going to be significantly castrated soon) possible to "create a website for free with HTTP, but not HTTPS" if you use Heroku. An HTTP-only, single-1x-dyno setup is free, whereas if you want HTTPS, they will try to bleed you dry.
Re:Intent to deprecate: Insecure HTTP by cbhl on Monday April 13, 2015 @02:38PM (#9369487)
> You can only make a website for free if you are OK with your website not having a domain name and running it off your personal laptop with electricity paid for by your roommates/parents.

Many online free hosting sites that give you a subdomain are HTTP only because wildcard HTTPS certs are expensive.

Many of those services would go away or turn paid-only in an HTTPS-only world.

The children of the future have already lost Geocities and dial-in BBSes that we grew up with; how will they manage if their Internet isn't exactly like ours? /s

> If your CPU is really so limited then why are you using HTTP at all? Use a custom binary protocol with or without encryption as appropriate.

I might not want to write the client for said custom binary protocol.

Like it or not, a lot of embedded devices (Arduino, Spark Core) provide libraries for serving JSON over unencrypted HTTP. Restricting yourself to devices that are more powerful (say, Raspberry Pi 2) would require you to use a bigger form factor for the hardware, and/or would cost more.

Re:Intent to deprecate: Insecure HTTP by MichaelGG on Tuesday April 14, 2015 @03:10AM (#9372568)
I highly doubt a company that's running OK today will get shut down by a the $30/month expense equivalent that is a wildcard cert.
Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:30PM (#9378578)
No, but prices will go up. Free tiers will be significantly reduced or outright eliminated. Cheap tiers won't be as cheap anymore. A lot of individuals and small businesses will now suddenly be faced with more costs, and while $30/month might seem small to you, that adds up considerably over several years.

Not everyone on the internet is a multi-millionare YCombinator alumnus.

Re:Intent to deprecate: Insecure HTTP by MichaelGG on Tuesday April 14, 2015 @11:06PM (#9378685)
... Please. You're talking about the difference of a single paid plan or something. There's no viable product or company out there now where $30 a month is even make anyone blink.
Re:Intent to deprecate: Insecure HTTP by yellowapple on Wednesday April 15, 2015 @05:16PM (#9384210)
Maybe if the entirety of your perspective comes from massive multi-million-dollar websites. For everyone else (particularly Mom-and-Pop small businesses, individuals trying to sell things online, etc.), that cost can very well be prohibitive, particularly when it dwarfs the costs of site hosting and even the domain name.

I'm talking about the little taqueria across the street from my house. They're perfectly viable, yet are going to be scared off from investing in a cert if it's going to be the single most expensive thing for their online presence. It's these sorts of folks that your argument blissfully ignores.

Re:Intent to deprecate: Insecure HTTP by mschuster91 on Monday April 13, 2015 @03:15PM (#9369751)
> AES-NI can decrypt at 3.5 cycles per byte. With modern consumer grade hardware you will not find symmetric streaming crypto to be a serious bottleneck.

The "old style" Raspberry Pi and, iirc, also the B2, don't carry crypto accelerators, and these are the first choice for people doing embedded linux prototyping.

Same for most other mobile chipsets.

Re:Intent to deprecate: Insecure HTTP by Dylan16807 on Tuesday April 14, 2015 @09:56AM (#9374232)
They also don't have gigabit ports.
Re:Intent to deprecate: Insecure HTTP by mschuster91 on Tuesday April 14, 2015 @02:12PM (#9376205)
I wouldn't exactly count on this. Chinese "pi alternative boards" already include gigabit ethernet, Android apparently also includes support for wired LAN (but somehow the manufacturer of my tablet went broke before they could sell the adapter cable)...
Re:Intent to deprecate: Insecure HTTP by ciupicri on Monday April 13, 2015 @02:36PM (#9369467)
From where can one get free certificates?

Not everyone has modern hardware. My hosting provider doesn't have AES-NI for example.

Re:Intent to deprecate: Insecure HTTP by blowski on Monday April 13, 2015 @02:44PM (#9369533)
> From where can one get free certificates?

e.g. https://www.startssl.com/?app=1

Also, if HTTPS became a requirement, then demand would increase for free HTTPS certificates in exchange for, say, advertising.

Re:Intent to deprecate: Insecure HTTP by unimpressive on Tuesday April 14, 2015 @03:25AM (#9372617)
>Also, if HTTPS became a requirement, then demand would increase for free HTTPS certificates in exchange for, say, advertising.

Any plan that puts more advertising on the web is going to get a big fat thumbs down from me.

Re:Intent to deprecate: Insecure HTTP by ciupicri on Monday April 13, 2015 @03:04PM (#9369667)
If I remember correctly there were some issues with StartSSL, but I don't have the details right now.
Re:Intent to deprecate: Insecure HTTP by mappu on Monday April 13, 2015 @05:07PM (#9370514)
It's a TOS violation to use their free certificates in a commercial project.
Re:Intent to deprecate: Insecure HTTP by pfg on Monday April 13, 2015 @03:08PM (#9369700)
They charge for certificate revocation, which became a bit of an issue during the Heartbleed massacre.
Re:Intent to deprecate: Insecure HTTP by tomjen3 on Monday April 13, 2015 @04:37PM (#9370317)
It is only an issue if you actually care about security. If all you want is a checkmark or the ability to show up in browser then that is more than good enough.
Re:Intent to deprecate: Insecure HTTP by blowski on Monday April 13, 2015 @03:11PM (#9369725)
Their customer service is appalling, but you pay for what you get.

The original point was that requiring HTTPS would mean free-to-host HTTP services would go out of business as it was impossible to provide free HTTPS certificates, and in that sense, StartSSL proves them wrong.

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:33PM (#9378585)
Not if those free-to-host HTTP services are commercial entities; StartSSL's free certificates can't be used commercially per their terms of service.

And if StartSSL is the only option, then I'm sticking to HTTP. They're a nightmare to deal with even for non-commercial use, let alone commercial.

Re:Intent to deprecate: Insecure HTTP by yellowapple on Tuesday April 14, 2015 @10:17PM (#9378539)
> No you don't. You can get free certificates.

The only free certificate authority that actually exists right now that I'm aware of is StartSSL, which I've at least found to be pretty damn horrendous to work with, and which only supports non-commercial uses of certificates, meaning that small businesses are still forced to pay up.

And no, Let's Encrypt doesn't count, seeing as it's not operational yet.

> For any actual website, there are already a multitude of real costs of which a certificate is just one more.

That's one more that can mean the difference between a mom-and-pop shop having a website and said shop not having a website because it's too expensive.

Just because plenty of factories dump industrial waste into rivers doesn't mean that I'm not an asshole if I dump a bottle of OxiClean down a storm drain.

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:38PM (#9369492)
> If your CPU is really so limited then why are you using HTTP at all?

Because it does not require user to install any other software and still have access to the device (PLCs and other embedded controllers)?

Re:Intent to deprecate: Insecure HTTP by bagacrap on Monday April 13, 2015 @03:59PM (#9370042)
> * Report sensor data from small embedded devices with extremely limited CPU

This proposal is specifically about web browsing.

> * Your JS can talk to APIs that don't yet support HTTPS (e.g. NextBus). If your serve your JS over HTTPS, your browser will complain if you try to access a HTTP-only API.

I believe that is the point of this proposal. NextBus will probably never switch to HTTPS without external pressure to do so.

Re:Intent to deprecate: Insecure HTTP by profmonocle on Monday April 13, 2015 @02:38PM (#9369485)
Also: set up a web site on a private network, which works without modifying every browser/OS that needs to access it (e.g. installing a custom root cert), and which doesn't depend on a third-party organization. (e.g. a CA)

This will still be a problem even when you can get free domain-validated certs from Let's Encrypt. That's still an outside dependency for a private system.

Re:Intent to deprecate: Insecure HTTP by Dylan16807 on Monday April 13, 2015 @02:31PM (#9369442)
>* Transfer large files at gigabit speeds on consumer-grade hardware

Can't modern hardware do AES at slightly over a gigabit per second per core even without the pervasive 10x accelerators?

Re:Intent to deprecate: Insecure HTTP by chc on Monday April 13, 2015 @02:12PM (#9369313)
Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.

In theory, HTTP is a subset of HTTPS. But that subset is much simpler for common tasks. HTTPS requires you to either subject yourself to the complexities of the CA system or be accused constantly of attacking yourself and everyone else who visits.

Re:Intent to deprecate: Insecure HTTP by blowski on Monday April 13, 2015 @02:59PM (#9369636)
So why not require HTTPS, and let a thousand "make HTTPS simple" startups bloom? Seems like we're saying "we should just accept insecurity because we can't think of an alternative".
Re:Intent to deprecate: Insecure HTTP by chc on Monday April 13, 2015 @03:13PM (#9369736)
> So why not require HTTPS, and let a thousand "make HTTPS simple" startups bloom?

Much the same reason we don't all cut our hands off and let a thousand prosthetics startups bloom, I think.

> Seems like we're saying "we should just accept insecurity because we can't think of an alternative".

It seems more like we're saying "We should unnecessarily break the free Web and just cross our fingers that somebody figures out how to fix it sooner or later."

Re:Intent to deprecate: Insecure HTTP by blowski on Monday April 13, 2015 @03:27PM (#9369828)
The analogy doesn't hold. There's absolutely no value in all chopping off our hands, but there _is_ value in requiring all traffic to go over HTTPS.

We can deprecate HTTPS for a decade without actually disabling it, and in the unlikely event that we _don't_ figure it out, we can undeprecate it some years later.

Re:Intent to deprecate: Insecure HTTP by chc on Monday April 13, 2015 @03:49PM (#9369971)
> there _is_ value in requiring all traffic to go over HTTPS.

I'm not so sure. It seems to me that there is almost no value in requiring all traffic to go over HTTPS compared to requiring a subset of traffic to go over HTTPS.

> We can deprecate HTTPS for a decade without actually disabling it, and in the unlikely event that we _don't_ figure it out, we can undeprecate it some years later.

If you want to deprecate it in name only, I guess I can't object since we wouldn't actually be doing anything. I'd figured this would involve trying to hinder HTTP use (similar to how we make self-signed certificates a royal PITA). At any rate, I think you're overestimating the likelihood that we'll figure it out in the short term — particularly given that the proposed happy scenario is to deprecate HTTP and then have thousands of additional for-profit actors trying to put themselves between people and the ability to have websites.

Re:Intent to deprecate: Insecure HTTP by Dylan16807 on Monday April 13, 2015 @02:13PM (#9369322)
You can't do ephemeral hosting with HTTPS unless you use a self-signed cert, and then browsers go absolutely mad.
Re:Intent to deprecate: Insecure HTTP by abritishguy on Monday April 13, 2015 @02:46PM (#9369549)
How is my router admin page supposed to have an always up to date SSL certificate?
Re:Intent to deprecate: Insecure HTTP by blfr on Monday April 13, 2015 @02:50PM (#9369578)
It could be a ten-year self-signed certificate. You accept and remember it the first time you connect (preferably over a cable).
Re:Intent to deprecate: Insecure HTTP by web007 on Monday April 13, 2015 @04:41PM (#9370338)

  telnet www.example.com 80
  GET / HTTP/1.0
Re:Intent to deprecate: Insecure HTTP by giovannibajo1 on Monday April 13, 2015 @06:20PM (#9370894)
openssl s_client -connect www.example.com:443

GET /

Re:Intent to deprecate: Insecure HTTP by bandrami on Tuesday April 14, 2015 @01:31AM (#9372283)
> Can you list some of the use cases where you can do something using HTTP that you can't using HTTPS?

Sure: host a web server anonymously. With HTTPS+PKI (and it's the PKI half of this that people are complaining about) I have to claim an identity.

Re:Intent to deprecate: Insecure HTTP by RexRollman on Monday April 13, 2015 @02:22PM (#9369386)
Not everything needs to be encrypted. It's not that hard to grasp.
Re:Intent to deprecate: Insecure HTTP by mike_hearn on Monday April 13, 2015 @02:28PM (#9369421)
Are you sure?

Probably Baidu thought the same thing about their Javascript. It's a public file, so why use HTTPS? Then they got turned into the Great Cannon and now they're being described as a weapon of the PRC in major newspapers.

It's obvious that governments are systematically weaponising any non-SSLd connections. If you don't use SSL, you're making it easier for them to hack your users and turn your website into a weapon. If you wouldn't let botnets run wild on your servers, you should take the same care to encrypt your website.

Re:Intent to deprecate: Insecure HTTP by dragonwriter on Monday April 13, 2015 @02:39PM (#9369493)
> Are you sure?

Yes, I'm sure that the communication between my browser and the test app I'm running on localhost doesn't need to be encrypted.

> It's obvious that governments are systematically weaponising any non-SSLd connections.

Over the public internet, sure.

OTOH, if a government controls a root CA trusted by your target population, TLS doesn't provide any protection at all against them anyway.

Re:Intent to deprecate: Insecure HTTP by stouset on Monday April 13, 2015 @04:58PM (#9370455)
Yes, it absolutely does. If they actually use that CA to MITM connections, it is usually detected pretty quickly, and browsers quickly revoke that CA's trust.

Even in a scenario where this doesn't happen, it elevates the required attack from a passive eavesdropping attack (which is comparatively simple to conduct en masse, and to analyze data retroactively) to an active attack (which must typically be done in a targeted, real-time fashion).

Re:Intent to deprecate: Insecure HTTP by lisper on Monday April 13, 2015 @07:29PM (#9371177)
> If they actually use that CA to MITM connections, it is usually detected pretty quickly

Really? How?

Re:Intent to deprecate: Insecure HTTP by timothya on Tuesday April 14, 2015 @01:05AM (#9372203)
Certificate pinning [0] is a common way.

[0]: http://en.wikipedia.org/wiki/Transport_Layer_Security#Certif...

Re:Intent to deprecate: Insecure HTTP by lisper on Tuesday April 14, 2015 @02:08AM (#9372383)
Right. Because no one ever changes a certificate legitimately.
Re:Intent to deprecate: Insecure HTTP by stouset on Tuesday April 14, 2015 @12:55PM (#9375602)
Some people run TACK. Chrome also, IIRC, reports back on when certs have changed and Google can clearly see if there's widespread disagreement on what key is being served to visitors.
Re:Intent to deprecate: Insecure HTTP by lisper on Tuesday April 14, 2015 @01:07PM (#9375701)
How is that going to help? If you've been MITMd then the attacker can intercept your TACK and Google traffic too.
Re:Intent to deprecate: Insecure HTTP by stouset on Tuesday April 14, 2015 @07:46PM (#9378054)
Chrome pins the Google certs, so MITM will only work if you get the user before they've first downloaded Chrome. And then you have to ensure you only ever MITM those clients, or your attack will be detected.

And TACK literally was designed to solve this problem. If the MITM interferes with you communicating to other TACK clients, you detect their attack. If they don't, you detect their attack.

Re:Intent to deprecate: Insecure HTTP by mariusz79 on Monday April 13, 2015 @02:35PM (#9369464)
People may need to run embedded servers on many different devices, and be able to access them. Forcing them to use not the latest version of the browser simply because they can't use it to connect to a device that costs 100k and will not be replaced every year like your average iDevice will not make anything better or safer.
Re:Intent to deprecate: Insecure HTTP by im3w1l on Monday April 13, 2015 @08:26PM (#9371373)
The issue was authentication, not encryption. Though SSL of course does both.

Authentication can be done much more cheaply than encryption (well assuming you have the clout to force a change in standards). It could be implemented as simply as <script src="baidu" hash="a84b3">. In particular such a request could be transparently cached without security concerns.

Re:Intent to deprecate: Insecure HTTP by dcosson on Monday April 13, 2015 @08:55PM (#9371458)
It seems like this would still have one of the issues SSL has where it's easy to get wrong and then it's no better than not having it, except that people think they're safe. E.g. use a weak hash function and someone can write a malicious script that hashes to the same value.
Re:Intent to deprecate: Insecure HTTP by mike_hearn on Tuesday April 14, 2015 @01:28PM (#9375849)
Yes, indeed, and I actually suggested this on the Mozilla thread.
Re:Intent to deprecate: Insecure HTTP by IgorPartola on Monday April 13, 2015 @02:37PM (#9369474)
Yes it does. For the umpteenth time, an unencrypted HTTP session allows an attacker to inject arbitrary content into the request/response stream. They can use this to do anything, from asking you to log in, sending them the password, to stealing credit card numbers, to presenting fraudulent content, to giving false information, to tracking you, to hijacking links from the page you are trying to view, to just showing you ads where there should be none, to defrauding the site/domain owner (via serving bogus content instead of your own).
Re:Intent to deprecate: Insecure HTTP by spdustin on Monday April 13, 2015 @04:06PM (#9370093)
And a MITM'd captive portal can do the same over SSL against users who don't understand the gravity of whatever warning their browser shows. For HTTPS to be everywhere, there needs to be zero reliance on certifying authorities that your uncle and grandmother have never heard of, zero dialogs/UI indicators that they'll just learn to ignore anyway, and zero effort to maintain the server-side of it.

It's a much bigger challenge, and I find it wildly cavalier for anyone to say "just use HTTPS everywhere" without directly addressing the faults pointed out by others. And by addressing, I don't mean dismissing out of hand.

Hell, I'd settle for acknowledging instead of addressing some days. There are real world problems on both sides that need to be considered.

Re:Intent to deprecate: Insecure HTTP by IgorPartola on Monday April 13, 2015 @11:21PM (#9371950)
I am acknowledging that there are issues with the CA system, and elsewhere have proposed plans for how to eliminate them from our trust chains (tldr: registrars issue you a CA that's only good for the domain you bought from them; then you are your own min-CA).

But these are two separate issues. Going from plain HTTP and HTTPS to HTTPS-only is a step in the right direction. It's also step 1. Step 2 is to drop CA's and work out a better trust system that relies on less parties being involved.

Also, let's give people some credit. Yes, some people ignore the self-signed cert warning. Some people also respond to Nigerian prince emails. We aren't talking about cutting off email because someone might get hurt. Unless you are ready to drop all untrusted certs, those dialogs need to stay in place.

Re:Intent to deprecate: Insecure HTTP by voidlogic on Monday April 13, 2015 @02:13PM (#9369323)
This. Maybe I want all the transparent caches on the Internet to cache my stupid cat picture?

How is this not going to destroy the cachability of the internet?

Being able to operate transparent caches is important for institutions (Edit: some which may not have access to their users local cert stores).

There is many things like blogs, news articles, photo galleries that gain zero value by being encrypted. Encrypting these things is going to require more hardware, more energy usage and more bandwidth and thus again more energy usage.

Re:Intent to deprecate: Insecure HTTP by bifurcation on Monday April 13, 2015 @02:22PM (#9369384)
The use of HTTPS doesn't destroy cacheability, it just requires that one of the legitimate endpoints authorize the cache to be there.
Re:Intent to deprecate: Insecure HTTP by voidlogic on Monday April 13, 2015 @02:26PM (#9369406)
Right, it forces the cache to come from the content provider rather than being provided downstream by the client's organization.
Re:Intent to deprecate: Insecure HTTP by profmonocle on Monday April 13, 2015 @02:48PM (#9369560)
But for many users, their downstream organization is their ISP. From my point of view, any caching by them is malicious. I didn't send my request to the IP of their caching server, I sent it to the IP of the site I'm trying to reach. Redirecting my request to their cache is a MITM attack.

If my employer wants to use caching, they can install a cert for their proxy on my machine (or require me to do so), so it's not a problem - although it is more technically complex.

Re:Intent to deprecate: Insecure HTTP by Dylan16807 on Monday April 13, 2015 @02:37PM (#9369472)
If it's inside the organization then they can put in a local cert and run a cache.

It only prevents caches that are in the middle and trusted by neither end. I'm okay with that in almost all cases.

Re:Intent to deprecate: Insecure HTTP by voidlogic on Monday April 13, 2015 @02:47PM (#9369558)
What about dorms, hospitals (patient wifi), libraries, hotels, cafes and small ISPs? They do not have access to their clients certs-
Re:Intent to deprecate: Insecure HTTP by Dylan16807 on Monday April 13, 2015 @02:15PM (#9369332)
How much of the internet is actually cached? Especially when most of the traffic is video feeds that always get resent.
Re:Intent to deprecate: Insecure HTTP by voidlogic on Monday April 13, 2015 @02:21PM (#9369373)
When I worked for an IT consulting firm I saw medium sized institutions (colleges, hospitals, hotels) save huge amounts of bandwidth by implementing transparent HTTP caches.

I totally am for securing POSTs, HTML, etc with SSL, but images and CSS, etc really make little sense.