In latest Yosemite, three-finger-click definition lookups, map tiles, and even some geod location communications are still unencrypted in flight. The whole Starbucks knows what words you look up, what map locations you view, et c.
Added bonus: definition lookups happen for every Spotlight search now, too.
It is amazing that in 2015 this is not standard policy everywhere people care about security (which should be any organization that touches PII or develops software for use by more than 10 people).
> Added bonus: definition lookups happen for every Spotlight search now, too.
You can set your queries to stay local if you disable "spotlight suggestions" and "bing web searches" in the spotlight settings. Definitions, based on the what the info on the settings page says, should be just local.
Hopefully this helps someone else, I've just disabled them.
You can't separate encryption from authentication, and the application is the only thing that can tell you what qualifies as authentication.
With IPSec you can tell the OS "open an encrypted connection to 69.231.14.52" and the OS will verify that you're actually talking to 69.231.14.52 and no-one else can read your messages. But that's not actually terribly helpful, because what you want to ensure is that only Bob can read your messages. And only the application knows who Bob is.
You can, it's just that you don't know if the connection is actually encrypted from you to the person/machine you're talking to, or if there's someone in the middle silently spying on you and relaying the messages between the two.
And by "someone," that doesn't necessarily mean an actual person specifically targeting you, it may just be an infected machine or router that snoops on everyone.
There is option 3, for example with a self-signed certificate. That works well for talking to your own server.
But if you're trying to reach some other site, how would you know if someone is pretending to be the site you're trying to reach? Encryption is not much use in protecting privacy, if your encrypted connection goes to an imposter. That's why authentication matters as much as encryption for surfing the web.
I wouldn't. But if I'm using an unencrypted connection I know for sure that everything is readable all along the way.
It seems to me that implicit in the argument against option 3 is the assumption that if we have a system in which encryption is not tied to authentication that the net will be filled with MITM attackers, thus effectively rendering option 3 identical to option 1.
Yes. With modern tools MITM is akin to spam: almost no marginal cost, so even if it only hooks a few people, it's worth trying. Here are some examples:
Keep in mind these are legitimate, professional ISPs doing this, so we're not even into criminal or state-level MITM attempts, let alone basic griefing tools like Firesheep.
So yes, it is a valid assumption that the net is filled with MITM attackers.
Hostname-based encryption only covers a small subset of use cases. If it's a web browser then sure, hostnames have become the way of doing that (although even then, browsers are starting to display the organization name in the top left alongside the URL). But for any kind of peer-to-peer program e.g. instant messaging or file sharing, hostnames are irrelevant; you care about the identity of the person on the other end, who's probably using a home connection that may not even have a public hostname (and will in any case change rapidly). Even for something as basic as email, you'd rather encrypt to a specific person than encrypt to gmail.com.
So in short hostname-based authentication is mostly useful for web browsers - which is why it's in the web browser, not the OS.
(Also, pragmatically, existing OS-based key management is terrible - just try and use the Windows dialogues to set up an SSL client certificate. For many users the very idea that you manage your keys separately from the programs you use them in is confusing. So browsers would rather provide their own cross-platform UI for key management, even if the OS offers a "managed SSL keystore" as most OSes do)
I can't think of a network related app I ever used where hostname based auth wouldn't be a net plus. Mail, chat, web browsing, VPN, VNC, network filesystems, ... Not to say "as long as I know that it's the right host, all my encryption needs are satisfied!" Sure, sometimes you want more. But knowing I got the host matching the hostname would always help.
As to the UI: Yes, but that's precisely because it is currently unclear who is responsible. Java has its own keystore, FF has its own but Chrome doesn't, even some libraries have their own or they don't, depending on the OS. It's a mess. A mess that I don't care about, as a user.
I want a central key store that apps tap in to. When I revoke a cert for Diginotar, I don't want to have to grep every file in my entire filesystem for that string on the off chance some crazy statically linked lib installed a local cert store somewhere.
And sure, an app wants to create a special case just for itself (e.g. a client certificate only for mail), let it. But I'd like that to be the exception, not the rule.
Cert management is a mess right now, and both developers and users are duped.
You wouldn't want to be encrypting twice or three times over - at that point there really does start to be an overhead associated with it.
> Mail
Encrypting at the host level would be actively unhelpful (e.g. it would make failover or forwarding harder) and wouldn't gain you much in the way of security. You just want to encrypt the message to the actual recipient.
> chat
Again hostname-based auth is actively unhelpful in a federated system like IRC or XMPP (you want to failover to a different host if a particular host is down), and offers minimal security in a centralized-server system.
> VPN
I think a VPN is inherently the wrong approach to security; it's trying to create a network you can trust, but networks are too big to secure.
> VNC
How often do you VNC to a box with a stable hostname? I only ever use it to connect between my (coffee shop or wherever) laptop, my (dynamic IP) home machine and my (dynamic IP) dev machine at work.
Chrome is the one that I feel gets it the most "right" ... I just wish that some of these interfaces were easier for other applications to use the system store. Even for host-based connections alone. I also feel that DNSSEC + certs would take this farther, and away from having to trust and pay certificate authorities.
It bugs me that it costs more for a wildcard domain cert than it does to host with a VPS for a year. I'm not saying it's prohibitively expensive for hobbies using multiple certs, just the same it shouldn't be this way.
> I can't think of a network related app I ever used where hostname based auth wouldn't be a net plus
You're exactly right on this – APIs need to be secure by default. Yes, I'm sure that that'd make some of the certificate management issues more pronounced but that's something we need to solve anyway; increasing the expectation that everything should be encrypted will only help.
But what if you get a reply "I am example.com, here's the encrypted socket". How do you know that the entity that replied isn't in fact something that is MiTM you connection?
And firefox happily offers to save your password when you enter it into a http login window but yells at you if you try to connect to a self signed https webpage.
It is now user space, so every app needs to reinvent the wheel. Updates to the security layer are per-app. At best, they use a good library (something we hopefully trust the OS will do, too).
It's like the OS not providing TCP but only UDP. Sure, every app can include its own TCP stack. But I'd rather the OS do it.
How does using a library qualify as reinventing the wheel? Not everything needs to be done in kernel space. User space is a lot more flexible - for instance, an application can decide to use LibreSSL instead of OpenSSL, but it can't change the IPsec implementation in the kernel.
Ok, next time look something up on maps and then go to barista and ask them, what were you looking at. May give some credibility to "the whole starbucks knows" claim.
In latest Yosemite, three-finger-click definition lookups, map tiles, and even some geod location communications are still unencrypted in flight. The whole Starbucks knows what words you look up, what map locations you view, et c.
Added bonus: definition lookups happen for every Spotlight search now, too.
It is amazing that in 2015 this is not standard policy everywhere people care about security (which should be any organization that touches PII or develops software for use by more than 10 people).