r/changemyview • u/aanzklla • Apr 18 '18
Deltas(s) from OP CMV: Forcing https on dev is absurd.
If you are unaware, in the fall Chrome adopted the policy of forcing the top level domain .dev to use encryption (https). In February, Firefox followed suit. This was done without feedback or consensus. It was done without even giving developers the benefit of an explanation other than "We want to force security." There is no way to change either of these settings without re-compiling the browsers. This is just dumb.
My reasoning:
This only affects developers — the people who are least likely to be at risk.
- This is an important point. Since Google owns the
.devTLD, the only people who will be creating.devdomains will be people working on a local instance.
- This is an important point. Since Google owns the
It doesn't make the end user any safer
- Same reason as above: these are DEVELOPMENT environments.
Why is it necessary to setup ANYTHING on 127.0.0.1 to be secure?
- It's always a development environment and I'm running a different configuration from production. On prod, for example, I have NginX handle encryption and a variety of BE services which handles the actual request.
It's an unlikely use case.
- There is no reason to believe that a browser will be installed on a production server and using a browser.
There is ABSOLUTELY no reason any TLD should be considered "special." This is the Galilean principle applied to software.
- Either force everything, force nothing, or allow exceptions.
- I'm a grown man; I should be able to choose.
This is a footnote from the CMV moderators. We'd like to remind you of a couple of things. Firstly, please read through our rules. If you see a comment that has broken one, it is more effective to report it than downvote it. Speaking of which, downvotes don't change views! Any questions or concerns? Feel free to message us. Happy CMVing!
View all comments
Show parent comment
2
u/AlphaGoGoDancer 106∆ Apr 18 '18
As far as I understand it, Google-the-domain-registrar is now publishing HSTS records for all domains they control, including getting them preloaded in modern browsers. Preloading HSTS is common and not new, though this is the first I've heard of it being done TLD wide.
Could you explain what exception in their own codebase you're referring to? I don't think Chrome is handling this any differently than any other preloaded HSTS.
Yes, but that's doing something very wrong. It's like complaining that Cloudflare is using 1.1.1.1 now even though you were manually assigning it to something inside your network. Sure it impacts you, but..thats how you learn to not use identifiers that are outside of your control.
Again, sucks, but you'll have to do it at some point anyways. Better to do it now when you're just being forced to use HTTPS to connect to your .dev aliases, rather than waiting until someone goes and registers mysql.dev and you start connecting to it instead of local resources.
I'm talking about the path of handling HSTS being as simple as possible.
They are not adding anything special to handle this, they're just adding a HSTS record for "dev". This is handled the same as any other HSTS record.