News for hackers. Stuff that matters.
Re:Chrome 56 will mark HTTP pages with password fields as no... by foota on Sunday January 22, 2017 @02:17PM (#13456706)
Pm - "why is this page insecure"

Developer - "chrome labels password fields as insecure over http"

Pm - "what if it wasn't a password field"

Re:Chrome 56 will mark HTTP pages with password fields as no... by bsimpson on Sunday January 22, 2017 @02:26PM (#13456782)
Don't you need to use type = "password" to get the -for-every-character treatment?

I suppose you could implement your own (e.g. type = "text" with an onKeyDown listener that cached each keystroke and inserted a into the field), but that sounds like a terrible solution in so many ways.

I would think the laziest possible way to workaround this would be to use a CDN like Cloudflare to proxy all traffic to your site. Looks like they have a service called Flexible SSL that terminates HTTPS at the CDN, and sends unencrypted traffic to your backend:

https://www.cloudflare.com/ssl/

Re:Chrome 56 will mark HTTP pages with password fields as no... by dheera on Sunday January 22, 2017 @03:26PM (#13457215)
A few solutions:

- Create a font such that every character shows up as a * and use it for a text input.

- make the input field use white text on a white background using a fixed-width font, monitor length, and display the correct number of *'s above it using a div.

- implement the text box ground up from scratch using div's and JS, like google docs does.

- implement a HTTPS password field in an iframe and communicate with it over post messages.

Re:Chrome 56 will mark HTTP pages with password fields as no... by nkkollaw on Sunday January 22, 2017 @04:03PM (#13457449)
Honestly, why would you do any of those things, now that installing a certificate takes 5 minutes and is free, with Let's Encrypt?

I know that you're just exploring solutions because it's interesting, but all those things take longer than Let's Encrypt.

Re:Chrome 56 will mark HTTP pages with password fields as no... by barnacs on Sunday January 22, 2017 @06:57PM (#13458521)
It may take way more than 5 minutes.

My experience with let's encrypt so far:

- the name of their tool was changed form "letsencrypt" to "certbot", breaking my cronjob

- for daemons that try to access the cert/key as non-privileged users, additional fiddling with permissions is necessary, which may even be overwritten on cert update if done incorrectly

- when the certs are renewed, daemons need to reload them. This means that ideally, you need to detect when a renewal actually happens (as opposed to an attempt), keep an up-to-date list of all daemons that use the certs and possibly completely restart them, dropping all existing connections (some daemons just don't support a live reload)

I'm not saying these problems are unsolvable, but may take way more than 5 minutes and I, for one, opted to renew my startcom certificate for another 3 years instead.

Re:Chrome 56 will mark HTTP pages with password fields as no... by nkkollaw on Monday January 23, 2017 @05:14AM (#13461136)
I just followed the instructions on their website, and it took me less than 5 minutes, including setting up the cronjob.

The cronjob correctly renewed the certificate at least once on multiple servers, with no issues whatsoever. I was also warned that the certificates were expiring via email, which I thought was awesome.

Your mileage might vary.

Re:Chrome 56 will mark HTTP pages with password fields as no... by stanleydrew on Sunday January 22, 2017 @09:01PM (#13459108)
> I, for one, opted to renew my startcom certificate for another 3 years instead.

Wait really? When did you do this? I thought all certs signed by their root after sometime in October or November are all considered invalid due to their shenanigans with WoSign. Not so?

https://news.ycombinator.com/item?id=12787029

Re:Chrome 56 will mark HTTP pages with password fields as no... by barnacs on Sunday January 22, 2017 @11:05PM (#13459683)
10/18/2016

> Distrust certificates with a notBefore date after October 21, 2016

Just in time!

Re:Chrome 56 will mark HTTP pages with password fields as no... by nommm-nommm on Sunday January 22, 2017 @05:03PM (#13457839)
If the only thing you host is a small blog without ads on a server that you have complete control over and spun up last month or something, sure it's 5 minutes.

In the real world, for many commercial operations, and especially for legacy code, there can be significant hurdles. For example, it took the NY Times 2 years to move to HTTPS, significantly more than 5 minutes, and they haven't even migrated 100% yet. https://www.thesslstore.com/blog/new-york-times-moves-websit...

Troy Hunt, a security expert, wrote about this topic a year and a half ago, and explained why, at the time he wrote it, his site wasnt HTTPS. http://www.troyhunt.com/were-struggling-to-get-traction-with... (this was before let's Encryt)

>unless you’re reading this in the future, you’re reading it on my blog over an insecure connection. That wasn’t such a big deal in 2009 when I started it, but it is now and there’s nothing I can do about it without investing some serious effort and dollars. I run on Google’s Blogger service which ironically given their earlier mentioned push to SSL, does not support it. Whilst Google doesn’t give me a means of directly serving content over SSL, I could always follow my own advice and wrap CloudFlare’s free service around it, but that won’t work unless I update the source of every single image I’ve ever added to almost 400 existing blog posts… and there’s no find and replace feature. This is the joy of SaaS – it’s super easy to manage and good at what it’s specifically designed to do, but try and step outside of that and, well, you’re screwed.

Another real world example, that I've encountered - your software is an intraweb site running on your customer's server and you have to play by their rules and policies on what your customers can put on their servers and when. And it's on exactly nobody's priority list.

Re:Chrome 56 will mark HTTP pages with password fields as no... by iancarroll on Sunday January 22, 2017 @07:51PM (#13458772)
It can indeed take some time to switch over, but why would you intentionally suppress a correct warning in the meantime? There is no good reason to mislead users here.
Re:Chrome 56 will mark HTTP pages with password fields as no... by nommm-nommm on Sunday January 22, 2017 @08:01PM (#13458816)
Because, here in the real world, my paycheck depends on keeping my customers happy.
Re:Chrome 56 will mark HTTP pages with password fields as no... by jrockway on Sunday January 22, 2017 @08:10PM (#13458864)
How happy will your customers be when they find out that you're just pulling the wool over their eyes instead of doing your job?
Re:Chrome 56 will mark HTTP pages with password fields as no... by nommm-nommm on Sunday January 22, 2017 @08:46PM (#13459040)
Did you read what I wrote?

I do my job but there's only so much I can do if the owners of the servers who are serving my software tell me "before we can change this server's configuration we need approval from another office, it will be a few months until they can get back to us."

(This is a hypothetical situation, for me, because I eventually got all my customers on HTTPS back around 2012 or so. There was some push back and it did take a long time and we had to be very persistent with some customers... But it was well worth it!)

We are talking about the world of corporate IT and pointy haired bosses. I don't implement a social network, or email, I don't accept payments - I make intraweb sites that non-technical corporate paperpushers use to do their job. They are only interested in getting their work done; they are happy when they can get their work done without scary warnings they don't understand. If my software is giving them errors they are going to believe that it's my software that's the problem, and that doesn't look good for us. And we have to field support calls and explain ourselves.

...Or we could put a quick and dirty stopgate in to avoid something that makes us look bad and we can't do anything about.

Re:Chrome 56 will mark HTTP pages with password fields as no... by foota on Monday January 23, 2017 @12:42AM (#13460065)
Man, that fourth paragraph is a work of art.
Re:Chrome 56 will mark HTTP pages with password fields as no... by Piskvorrr on Friday February 03, 2017 @03:50AM (#13558629)
Aaand...the very same security expert wrote this last week:

https://www.troyhunt.com/https-adoption-has-reached-the-tipp...

TL;DR: HTTPS is now workable and affordable.

Re:Chrome 56 will mark HTTP pages with password fields as no... by notatoad on Sunday January 22, 2017 @11:15PM (#13459712)
If you have 3rd party ads on your login page, you're doing something very, very wrong and you deserve to have all kinds of warnings flashing up.
Re:Chrome 56 will mark HTTP pages with password fields as no... by sgk284 on Sunday January 22, 2017 @04:17PM (#13457530)
Have you ever been on a team at a large company? Tons of bureaucracy. You're correct that Let's Encrypt is the path of least resistance in a shop where you control everything. In many large companies the path of least resistance is tweaking whatever is in your immediate control (e.g. the text inputs / javascript you're writing).
Re:Chrome 56 will mark HTTP pages with password fields as no... by michaelmior on Sunday January 22, 2017 @04:36PM (#13457667)
> takes 5 minutes

This is entirely dependent on how your site is hosted. For some shared hosting platforms, it may not be possible at all.

Re:Chrome 56 will mark HTTP pages with password fields as no... by disiplus on Monday January 23, 2017 @03:44AM (#13460781)
also u have to do the request over port 443, and the alternative dns validation is not supported in in the official client. so its 5 min only in ideal case.
Re:Chrome 56 will mark HTTP pages with password fields as no... by PretzelFisch on Sunday January 22, 2017 @04:06PM (#13457466)
Because that is just not true in many cases. And let's encrypt is a big hassle if you can't automate the cert replacement.
Re:Chrome 56 will mark HTTP pages with password fields as no... by discreditable on Monday January 23, 2017 @08:03AM (#13461874)
> now that installing a certificate takes 5 minutes and is free, with Let's Encrypt?

It's only easy if you're using a Linux webserver. In IIS land it's a pain.

Re:Chrome 56 will mark HTTP pages with password fields as no... by megablast on Sunday January 22, 2017 @07:47PM (#13458759)
Bullshit. Not if you have shared hosting. Or 1000 over different situations that you clearly have not thought about.
Re:Chrome 56 will mark HTTP pages with password fields as no... by agildehaus on Sunday January 22, 2017 @08:27PM (#13458950)
So shared hosts will have to move to making HTTPS simple to implement for their users. Sorry, but progress must be made in this area.

And if not, it's no big deal, users will just be informed that the page is not secure, which is true.

Don't like the message? Work to secure your damn website.

Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Sunday January 22, 2017 @04:56PM (#13457792)
Let's Encrypt is great, but completely useless for... Actually every single website I host. No wildcard certs, the rapid rotation that requires software to renew it regularly, etc. The cost of implementing HTTPS for dozens of sites with no sensitive data is simply not worth it.

When companies like Google and Mozilla decided how to handle HTTPS, they decided based on their needs and their perception of everyone else's needs, like banks and major corporations. This led, IMHO, to a complete failure to recognize a lot of other uses for the Internet, and so their solutions fail to adequately account for them.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Karunamon on Sunday January 22, 2017 @05:55PM (#13458150)
HTTPS is for the user's benefit, not the site owner's (barring legislation, of course). Also, HTTPS prevents hijacking, not just sniffing, of content by a MITM. That includes malware injection.

This has been coming for quite a long time. The time for excuses is over. If you think the safety of your users is "simply not worth it", well, I'd like to know what your websites are so I can block them at my firewall. I'm not saying this to be a dick, I'm saying this because this is an attitude of callous disregard on display, and it's downright odious given the modern security climate.

LE is not that hard to use, and I seriously question whether you can't make an API call once every 90 days per subdomain. The requirements have never been lower.

Re:Chrome 56 will mark HTTP pages with password fields as no... by jaas on Sunday January 22, 2017 @09:09PM (#13459156)
HTTPS is very much for the site owner's benefit as well. If your site is not HTTPS then you can't be sure that your users are seeing what you intend them to see. Ads, malicious script, whatever, can be injected or replace your content.
Re:Chrome 56 will mark HTTP pages with password fields as no... by nommm-nommm on Sunday January 22, 2017 @06:03PM (#13458191)
HTTPS is to ensure privacy and integrity for the end user not for the benefit of Google and banks.
Re:Chrome 56 will mark HTTP pages with password fields as no... by no_wizard on Sunday January 22, 2017 @09:40PM (#13459290)
https://certbot.eff.org/

This. This this this. Automates everything so easily. I have helped someone personally deploy HTTPS for over a dozen sites and they all auto-renew without a hitch every 90 days.

No Excuses. EFF did us a solid

Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Sunday January 22, 2017 @10:43PM (#13459593)
Except the part where if you're using shared hosting and don't have the ability to run this software on your server, it's useless as I said.
Re:Chrome 56 will mark HTTP pages with password fields as no... by protomikron on Monday January 23, 2017 @01:00AM (#13460157)
One might also conclude that the hosting provider is useless.
Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Monday January 23, 2017 @02:37AM (#13460542)
Or the expectation that everyone take a huge cost burden to appease El Goog is a bigger burden than the startup industry realizes. There's really no solution for HTTPS that does less than double my hosting costs, either I have to buy expensive certs or move to another hosting provider which would support Let's Encrypt. Either way it's a couple hundred dollars a year to maintain hobby sites, which don't pay for themselves to begin with.

Of course, it works in Google's favor to make it unfeasible to maintain a website outside a cloud platform. It's amazing here people are so opposed to the democratization of the Internet, and so supportive of the death of it, over security provisions that will, in retrospect, be considered largely ineffective.

Re:Chrome 56 will mark HTTP pages with password fields as no... by tortasaur on Monday January 23, 2017 @10:55AM (#13463018)
What are you talking about? There are plenty of low-cost VPS providers that give you full root access on which you can easily run certbot. That's what I'm doing now, and my hosting provider costs a whopping $20/year.

Say what you will, but pushing for passwords to be transmitted securely isn't Google fighting against the democratization of the Internet. They're doing that in other ways, sure, but promoting encryption isn't one of them.

Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Monday January 23, 2017 @11:20AM (#13463232)
Encryption could be offered without certification authorities that charge huge sums for certs. And there's a link on /new right now about Symantec which continues to reinforce how relying on CAs is a broken concept.

So, right now, I have 24/7 American-based phone support (this is a must-have), 99.9% uptime guarantee, WHM/cPanel software licensing included, 60 GB disk space, 600 GB bandwidth included. By all means, if you have a VPS service that can offer all of this at less than $30 a month, I'd love to consider it. I haven't changed hosting providers in a while, but I haven't found a company capable of meeting the requirements.

Re:Chrome 56 will mark HTTP pages with password fields as no... by icebraining on Monday January 23, 2017 @02:12PM (#13464957)
Have you thought about using that 24/7 phone support to ask them to upgrade cPanel? Since August it comes with LE support in the form of the AutoSSL plugin.
Re:Chrome 56 will mark HTTP pages with password fields as no... by sofaofthedamned on Monday January 23, 2017 @04:51AM (#13461044)
Then use one of the offline challenges.
Re:Chrome 56 will mark HTTP pages with password fields as no... by icebraining on Sunday January 22, 2017 @07:42PM (#13458732)
If there's not sensitive data, then there's no password field (passwords are by definition sensitive), and Chrome won't show a warning. So what's the problem?
Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Sunday January 22, 2017 @08:54PM (#13459068)
Passwords are NOT by definition sensitive, and this is the sort of absolutist nonsense that I'm complaining about. Passwords are only as sensitive as the data they access.
Re:Chrome 56 will mark HTTP pages with password fields as no... by stanleydrew on Sunday January 22, 2017 @09:08PM (#13459152)
This is false. Passwords are only as sensitive as all the data they access. Given that it's impossible for you to know what other data the user is protecting with the same password, you must assume all passwords are as sensitive as the most sensitive data a user might reasonably secure with that password.

Do I wish things were different, and that everyone on earth used unique passwords for every site? Of course. But I think you know that's never going to describe reality.

Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Sunday January 22, 2017 @10:10PM (#13459424)
As someone who runs like a roleplaying site for like ten people (or several of them), I cannot be responsible for other people's bank passwords, nor should I be punished for daring to host websites without the huge added burden of cost of HTTPS.

The notion that every homebrew website is supposed to support HTTPS is also never going to describe reality.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Vendan on Monday January 23, 2017 @12:47AM (#13460096)
Then really, Google's done you a solid. Now everyone using your site will know it's not as secure as their bank, and therefore, when their creds for your sites are stolen, and they get their identity stolen as a result, you can just say "Hey, everything told you it wasn't secure, not my problem"...
Re:Chrome 56 will mark HTTP pages with password fields as no... by rimantas on Monday January 23, 2017 @08:46AM (#13462098)
You should not be responsible for running any of the sites with this attitude.
Re:Chrome 56 will mark HTTP pages with password fields as no... by ocdtrekkie on Monday January 23, 2017 @09:02AM (#13462186)
Again, this is not a productive or useful security attitude to take. We've made some grave privacy missteps with poor security advice time and time again, so simply saying "HTTPS is better and everyone should use it" is not inherently accurate. Especially when it's completely impractical with the tools available.
Re:Chrome 56 will mark HTTP pages with password fields as no... by detaro on Sunday January 22, 2017 @09:16PM (#13459184)
> - implement a HTTPS password field in an iframe and communicate with it over post messages.

The top-level page also has to be served over HTTPS for the warning to not appear. (source https://developers.google.com/web/updates/2016/10/avoid-not-...)

Re:Chrome 56 will mark HTTP pages with password fields as no... by nsgi on Sunday January 22, 2017 @03:37PM (#13457288)
The last one won't work. The parent frame has to be HTTPS as well.
Re:Chrome 56 will mark HTTP pages with password fields as no... by nawitus on Sunday January 22, 2017 @03:44PM (#13457333)
You can implement a custom element which shows the characters as dots (essentially your third suggestion).
Re:Chrome 56 will mark HTTP pages with password fields as no... by Moru on Sunday January 22, 2017 @03:50PM (#13457376)
But what do you do when you have a page with form data that isn't sensitive and has no password on it and the users can't care less about the content of the form but chrome still warns about unsecure page?
Re:Chrome 56 will mark HTTP pages with password fields as no... by kevin_thibedeau on Sunday January 22, 2017 @03:54PM (#13457398)
Why would such a form need a password field?
Re:Chrome 56 will mark HTTP pages with password fields as no... by Moru on Sunday January 22, 2017 @04:01PM (#13457442)
Well, that is the whole point I'm trying to make. Why does chrome think I'm using a password on the page when there is no password? Anyway, Chrome will mark all http as insecure sooner or later so will just have to force https on all connections...

There seems to be many people with similar problems of false positives for nonexistant passwords so I guess it's a bug.

Re:Chrome 56 will mark HTTP pages with password fields as no... by comex on Sunday January 22, 2017 @04:24PM (#13457578)
I haven't heard of this bug, but regarding the decision to mark all HTTP as insecure:

Remember, HTTPS isn't just for security, but also privacy. And even if your site is such that there is no privacy advantage in hiding the exact URL you visited (as opposed to the hostname, which unfortunately must leak for now), even if there are no cookies sent to your site, or to any iframes it uses, which can be used for identification or profiling…

Even then, there are the benefits that only accrue if a user's entire browsing session is HTTP-free, including hiding the user agent from a network attacker and preventing injection of everything from tracking cookies to DDOS scripts (China's Great Cannon) to zero-day attacks.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Symbiote on Sunday January 22, 2017 @05:41PM (#13458062)
> Remember, HTTPS isn't just for security, but also privacy.

And the third thing: authenticity.

No-one has modified the page, for example to insert or change advertisements

Re:Chrome 56 will mark HTTP pages with password fields as no... by the_duke on Sunday January 22, 2017 @04:29PM (#13457610)
I don't really know what your point is.

This will mark pages as insecure that have a '<input type="password">' field on your page. If you don't have that, you are fine.

I don't know of any reasons to have a password field if it's not actually sensitive information that's being entered.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Piskvorrr on Thursday February 02, 2017 @04:54PM (#13555102)
...for now. Marking all non-secured HTTP as insecure (duh) is in the pipeline - it seems.

This is actually a Good Thing - with HTTPS-friendly CDN and/or Letsencrypt, rolling out sites that are secure-by-default is now easier and cheaper than ever before.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Piskvorrr on Sunday January 22, 2017 @04:22PM (#13457561)
Well...HTTP is insecure. That's what S in HTTPS stands for.
Re:Chrome 56 will mark HTTP pages with password fields as no... by detaro on Sunday January 22, 2017 @08:15PM (#13458885)
Then that's a bug you should report, and let the Chrome team fix it.
Re:Chrome 56 will mark HTTP pages with password fields as no... by paulddraper on Sunday January 22, 2017 @02:48PM (#13456953)
> onKeyDown

Right-click paste from my password manager, and it doesn't work. Thanks.

---

This idea is terrible in general, but if you do, against all that is holy, implement it, please, please use onInput.

Re:Chrome 56 will mark HTTP pages with password fields as no... by brak1 on Sunday January 22, 2017 @03:04PM (#13457072)
also type='password' don't get their submitted values suggested for the autocomplete thing in broswers.
Re:Chrome 56 will mark HTTP pages with password fields as no... by Klathmon on Sunday January 22, 2017 @03:07PM (#13457086)
You can avoid this by using `autocomplete='off'`. Most browsers will still allow you to autocomplete the field because many were abusing that attribute, but they won't save what you put in it.

It's still a horrible idea, but it'd work.

Re:Chrome 56 will mark HTTP pages with password fields as no... by UnoriginalGuy on Sunday January 22, 2017 @02:29PM (#13456802)
That's literally what my router's login page does. It is a text box but has JavaScript which converts each non-* character into a * character and stores the actual value in a JS variable.

Why? They added a "Show Password" radio and I guess they figured this hack made more sense than simply using JS to update the DOM to turn it from a type password to a type text.

Re:Chrome 56 will mark HTTP pages with password fields as no... by JoshTriplett on Sunday January 22, 2017 @02:46PM (#13456942)
My previous router did this to obscure password length, by inserting three stars into the field for every character typed. Which completely broke browser password managers, and the ability to paste the password.
Re:Chrome 56 will mark HTTP pages with password fields as no... by duskwuff on Sunday January 22, 2017 @03:19PM (#13457168)
IIRC, changing the 'type' of an input doesn't (or, at least, didn't) work in some browsers.
Re:Chrome 56 will mark HTTP pages with password fields as no... by guscost on Sunday January 22, 2017 @02:33PM (#13456834)
> an onKeyDown listener that cached each keystroke and inserted a into the field... sounds like a terrible solution in so many ways.

For anyone who is wondering what these ways are, here are a couple:

1) Backspace is a crufty special case

2) What happens when someone highlights text in the input box and types over it?

Re:Chrome 56 will mark HTTP pages with password fields as no... by dTal on Sunday January 22, 2017 @04:56PM (#13457794)
More broadly: a text input box is in fact a small but surprisingly comprehensive text editor. It supports a cursor with insert, delete, and overstrike; highlighting, undo/redo, cut/copy/paste; and shortcut keys for all that. It supports every keyboard layout and every input method. It obeys standardized focus rules. It's even got word wrap and spell checkers these days.

So, you want to go your own way? How much of that do you need to reimplement? And how confident are you that the subset you choose doesn't completely ignore some vital use case you forgot about?

You certainly can't get away with just wiring keystrokes to a field.

Re:Chrome 56 will mark HTTP pages with password fields as no... by eru on Sunday January 22, 2017 @06:15PM (#13458263)
You can: you'll just get a buggy half-assed implementation. In a corporate envirnonment with bad politics, that might still be the only way to go. (Apart from quitting.)
Re:Chrome 56 will mark HTTP pages with password fields as no... by skybrian on Sunday January 22, 2017 @03:00PM (#13457045)
CodeMirror has figured this out. When you type it's actually into a hidden input, and it updates a separate display.

Reimplementing CodeMirror (including highlighting, etc) is hard enough that most web developers probably can't do it. But it only takes one person to create a library.

Re:Chrome 56 will mark HTTP pages with password fields as no... by nodesocket on Sunday January 22, 2017 @07:30PM (#13458677)
+1 for using CloudFlare. I just deployed the front-end website for my new startup (https://elasticbyte.net) using Google Cloud Storage (like S3) and CloudFlare for custom SSL. CloudFlare also allows me utilize CNAME flattening, so the the root record for my domain simply points to c.storage.googleapis.com.
Re:Chrome 56 will mark HTTP pages with password fields as no... by PretzelFisch on Sunday January 22, 2017 @04:04PM (#13457452)
you can have a hidden text input and use * in the visible one, then just use javascript to push the real text into the hidden field. but the pm would probably be fine showing the password in plain text, since the threat of a visible password is low<sarcasm/>...
Re:Chrome 56 will mark HTTP pages with password fields as no... by dawnerd on Sunday January 22, 2017 @04:58PM (#13457803)
I've noticed a lot of sites default to "show password" with a toggle so it wouldn't be insane to think they'd opt for plaintext the whole way.
Re:Chrome 56 will mark HTTP pages with password fields as no... by barnacs on Sunday January 22, 2017 @05:12PM (#13457907)
> I would think the laziest possible way to workaround this would be to use a CDN like Cloudflare to proxy all traffic to your site.

Interesting. Where are all these warnings when a CDN man in the middle attacks your connection? Or when google gets to access all the email communication of gmail users? Or when ad networks track you all around the web?

Re:Chrome 56 will mark HTTP pages with password fields as no... by djs070 on Sunday January 22, 2017 @05:12PM (#13457909)
IIRC, type=password also prevents copying saved input to clipboard
Re:Chrome 56 will mark HTTP pages with password fields as no... by brettz on Sunday January 22, 2017 @02:56PM (#13457012)
So accurate. We had this exact discussion. Going to go with insecure warnings until we get https up shortly.

For those wondering you can mask a normal text field in css input { -webkit-text-security: disc; }.

Re:Chrome 56 will mark HTTP pages with password fields as no... by mappu on Sunday January 22, 2017 @03:12PM (#13457121)
My colleague used a custom web font where every glyph was replaced with a filled circle. Better browser compatibility, you know.

Although our reason was actually to do with password managers. At $DAYJOB we have a CRM/ERP system with lots of password fields for other entities (not the current cookie user). It's increasingly difficult to opt out of browser autofill, and LastPass in particular was corrupting password data in the system whenever forms were submitted.

Re:Chrome 56 will mark HTTP pages with password fields as no... by fdsaaf on Sunday January 22, 2017 @04:36PM (#13457665)
> It's increasingly difficult to opt out of browser autofill

Good. I hope browsers autodetect these web font tricks and pop up similar warnings. I can't stand when some random website make thinks it can do a better job of credential security than major browser makers.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Symbiote on Sunday January 22, 2017 @05:44PM (#13458080)
I think the point is more like an HR administrator who opens a web page, containing an employee's details. They need to update the employee's home phone number, but their password manager dumps the HR administrator's password into the "Set new password" field, which is therefore overwritten.
Re:Chrome 56 will mark HTTP pages with password fields as no... by icebraining on Sunday January 22, 2017 @07:46PM (#13458754)
So don't put the "set new password" field right in the employee's details page, use an extra page or popup for that.
Re:Chrome 56 will mark HTTP pages with password fields as no... by mappu on Sunday January 22, 2017 @11:26PM (#13459753)
Our application is still maintained, so we can find workarounds or restructure the form to use an extra popup (to the detriment of usability). But i'm sure many applications won't be updated, and as a result of this change, data will be silently corrupted when they are used. The browser has knowingly broken compatibility with the web application.

This is a Torvalds "don't break userspace" moment.

Re:Chrome 56 will mark HTTP pages with password fields as no... by icebraining on Monday January 23, 2017 @02:33AM (#13460521)
Fair enough, that's a valid concern. But it wouldn't be solved by allowing pages to opt-out of autofill, since they'd have to be updated to use those as well.
Re:Chrome 56 will mark HTTP pages with password fields as no... by alexdoma on Sunday January 22, 2017 @03:47PM (#13457352)
I used this same hack for a XenForo add-on [1] and even got labeled as black hat.

[1] https://xenforo.com/community/threads/let-tls-wait-paid-dele...

Re:Chrome 56 will mark HTTP pages with password fields as no... by technion on Sunday January 22, 2017 @07:43PM (#13458742)
Well I'm fairly certain it will go like this for me.

Pm - "why is this page insecure"

Developer - "chrome labels password fields as insecure over http"

Pm - "we'll need to setup encryption. It will need to be FIPS-140 certified or it's not secure"

Developer - "But you didn't care when there was no encryption"

Pm - "We don't need to certify plaintext, that should be obvious. You need to learn more about security".

Re:Chrome 56 will mark HTTP pages with password fields as no... by theandrewbailey on Monday January 23, 2017 @04:13PM (#13466090)
Developer - "FIPS-140 has been compromised by the NSA. We don't want government spies in our servers."
Re:Chrome 56 will mark HTTP pages with password fields as no... by morenoh149 on Monday January 23, 2017 @12:36AM (#13460036)
where do you work
Re:Chrome 56 will mark HTTP pages with password fields as no... by msimpson on Monday January 23, 2017 @10:30AM (#13462823)
They seem to be a government contractor.
Re:Chrome 56 will mark HTTP pages with password fields as no... by JustSomeNobody on Sunday January 22, 2017 @03:26PM (#13457216)
I laughed out loud. Then started crying.

Sigh. Our industry in a nutshell.

Re:Chrome 56 will mark HTTP pages with password fields as no... by Aldo_MX on Sunday January 22, 2017 @04:17PM (#13457531)
I've seen that:

https://www.bancomer.com/index.jsp

Click "Acceso a clientes" and write numbers.

Re:Chrome 56 will mark HTTP pages with password fields as no... by eru on Sunday January 22, 2017 @06:18PM (#13458288)
I don't even get to that badness: the browser needs to accept third-party cookies first. (I wonder what badness is behind all there.)
Re:Chrome 56 will mark HTTP pages with password fields as no... by drzaiusapelord on Monday January 23, 2017 @10:44AM (#13462929)
Pm - "why is this page insecure"

Developer - "chrome labels password fields as insecure over http"

Pm - "what if it wasn't a password field"

Pm - "If its important enough to hide, its important enough to stop from being intercepted. Think social security numbers, PINs, tokens, drivers license numbers, etc. Why aren't we encrypting things that matter?"

Re:Chrome 56 will mark HTTP pages with password fields as no... by madeofpalk on Sunday January 22, 2017 @06:11PM (#13458237)
Pm - "why is this page insecure"

Developer - "chrome labels password fields as insecure over http"

Pm - "what if it wasn't http?"

Re:Chrome 56 will mark HTTP pages with password fields as no... by nolite on Sunday January 22, 2017 @03:26PM (#13457214)
The Law of Unintended Consequences at its best
Re:Chrome 56 will mark HTTP pages with password fields as no... by ranveeraggarwal on Sunday January 22, 2017 @02:59PM (#13457040)
Pm - "why can't you use some JavaScript to hide this?"

Developer - "..."

Re:Chrome 56 will mark HTTP pages with password fields as no... by dawnerd on Sunday January 22, 2017 @05:00PM (#13457822)
The correct answer is always "IE doesn't support it"
Re:Chrome 56 will mark HTTP pages with password fields as no... by ranveeraggarwal on Wednesday January 25, 2017 @02:44AM (#13479537)
Good point. We use the Windows stack :D
Re:Chrome 56 will mark HTTP pages with password fields as no... by bradgessler on Sunday January 22, 2017 @03:17PM (#13457154)
It would be better if form is served up via HTTP it gets marked as insecure.
Re:Chrome 56 will mark HTTP pages with password fields as no... by 1qaz2wsx3edc on Sunday January 22, 2017 @02:27PM (#13456785)
Developer - "any could see the password..."

Pm - "put one of them modal over it"

Developer - "but then how will anyone..."

Pm - "we're switching to <completely different stack they heard about from someone in their uber last week>"

Re:Chrome 56 will mark HTTP pages with password fields as no... by AtheistOfFail on Sunday January 22, 2017 @02:27PM (#13456791)
Yay, plaintext input fields for passwords.

/me opens a sake bottle.

Re:Chrome 56 will mark HTTP pages with password fields as no... by fdsaaf on Sunday January 22, 2017 @04:34PM (#13457652)
I'm glad I'm not the only developer who can't stand the kind of PM you describe.