156 points · by hannob · 4y ago · 145 comments
In practice, this would simply move a little bit of control over the list of accepted authorities from browser vendors to EU institutions, which is not terribly unreasonable a stance.
In fact, as time passes and authorities become more and more tech savvy, I expect this sort of thing to happen more and more. There is a lot of unaccountable authority (eh) in internet infrastructure, with special companies like Google and Microsoft (and yes, Mozilla too) effectively holding the keys to many kingdoms. Even if such power is used scarcely and wisely, there is a question of legitimacy.
And what happens when one of those institutions violates existing widespread CA policy, such as by issuing a certificate for MITM purposes, or otherwise making the web less secure? Right now, browsers can simply remove such CAs based on their established policy. (This isn't a hypothetical; browsers have had to remove CAs for such misbehavior in the past.)
As it is, browser companies[0] are the sole authority on what is and isn't a valid CA. At least the EU leadership is elected.
[0] and let's be realistic here, this means Google.
Actually, it doesn't. There are four main browser CA root stores: Apple, Microsoft, Mozilla, and Google, and these are also the root stores of their respective operating systems (if you're on Linux, you're using Mozilla's root store, because distros do not want to run anything themselves).
Furthermore, the Microsoft, Google, and Mozilla root stores all also require inclusion in the common CA database, which is run by Mozilla. Also, Mozilla (and maybe Google) require CAs to participate in Mozilla's public lists, especially when it comes to notifying people of big CA security oopsies--all of the big CA issues have come to light on that list, and the coordination of the responses by browsers has been done by Mozilla.
So the biggest authority on who a valid CA is? Mozilla.
Not an elected group, true. But a foundation with a public charitable goal, and an entity with much less interest in being able to intercept communications than states.
I think it's better of in the hands of an un-elected foundation than in the hands of an elected, but politicized entity with interests in intercepting communication.
A more direct and confrontational approach would be for browser companies to do what website owners have effectively done, which is to agree in advance to implement some sort of annoying pop-up (shown every time the browser updates) saying "Do you want the EU to weaken your security and enable spying? [Yes] [No]", like those annoying cookie pop-ups.
The difference being, of course, that the cookie pop-ups are designed to dark-pattern users into giving away their rights, and to blame the EU unfairly, whereas these browser pop-ups would be to help protect users' rights and to correctly blame the EU (assuming the regulation passes).
it isn't (directly anyway)
for the last set of elections: they even held televised political debates with candidates
then selected someone that hadn't even been mentioned (Von der Leyen)
That doesn't sound like a sad state of affairs to you? It's like responding to the PATRIOT act by saying "Probably tech companies will refuse to comply and deal with the federal government in court if they make a stink about it."
In principle Apple, Google, and Microsoft can do whatever they want, but well, go back and see the history of such interventions for yourself and draw your own conclusions about where the crucial decision was made.
So how about we stop this proposal in its track right now instead?
I have zero trust in the competence and intentions of EU institutions
I already have to trust the firm that maintains the browser, how does adding another party help exactly?
this proposal's endgame is mandatory key escrow (attempt number #8 or so)
Why is that?
A foreign government (or even my own) has somewhere between zero and weak alignment with my goals. There's little reason they would want to choose good certificate authorities and strong reasons why they would choose ones their intelligence agencies can backdoor. Why should I add them to the chain of trust?
https://qz.com/1389385/article-11-and-article-13-axel-voss-i...
I don't trust the EU to handle encryption. I don't think that is unreasonable especially with the attempts against it cloaked as "reasonable access".
The chain of trust has weaknesses and any government institution can only fully undermine that trust. It would not last a week without abuse, the same happened with Covid tracking apps and location information.
> there is a question of legitimacy.
For the EU there is actually quite a lot of that. It is true that at some point we have to trust someone, but which problem do you want to see solved here?
Do you have (a link to) more information on that? As far as I have seen (in NL) the Covid tracking app was designed and implemented fairly well and abuse has been very limited to non-existant.
https://digit.site36.net/2022/01/22/tracking-corona-infectio...
There are two prominent apps in Germany. The other one is indeed secure against such attempts because it is technically not possible to get the information. I wouldn't even accuse the investigators here, it just shows that if there is a possibility for tracking, that it will be used. For better or worse reasons.
The Dutch app was full of security holes.
> abuse has been very limited to non-existant
As far as you can tell, which is not at all. That begs the question, why do you trust that this is the case?
Literally nowhere in the article it says that.
The TL;DR is: "QWAC certificates will have to show the green banner" and maybe non-QWAC will have some kind of warning.
The link on TFA is informative https://scotthelme.co.uk/looks-like-a-duck-swims-like-a-duck... (sounds like a CA lobbying for this crap)
In the end I suspect browsers might revoke some QWAC certs if they feel they are invalid
So yes, this is essentially handling encryption if the EU indeed wants to enforce mandated certificates. If you want to discuss technicalities and the problem of key exchange we can do that too.
Personally, my impression is the legislation is at best hit-and-miss. You might get some great privacy protection. You might get mandatory encryption back doors. You might get free mobile data roaming. You might get cookie warning messages. You might get worldwide license-free spectrum, some of the most economically productive spectrum ever. You might get a patent system that lets people patent slide-to-unlock. You might get the state funding university research and giving the results away for free. You might get the DMCA giving youtube creators getting copyright strikes because someone's copyrighted silence. You might get cable rights of way and common carrier protections, which are vital to the communications industry working. You might get government ID checks for social media users.
Seems to me legislation is a coin flip - sometimes great, other times completely boneheaded.
Also, I am surprised what exactly is making you think that the baseline requirements do not exist for security reasons (even if it isn't exclusively about cryptographic security).
That's not what I meant. The point is that, as time passes, more and more people are involved in political decision-making who understand how tech works.
> what exactly is making you think that the baseline requirements do not exist for security reasons
Once you move out of the nitty-gritty of crypto tech, "security" is in the eye of the beholder. Is a solution more "secure", for society at large, if it allows terrorists to communicate undisturbed? You might say yes, others might say no. There isn't an absolute scale there. Choosing trust is one of those areas where the solution is political, not technical, hence forever debatable. So a statement implying that one set of compromises is "less secure" just because it moves trust from certain subjects to other ones (more formally accountable, in this case), is simply not objectively true, and really meant to muddle the waters.
Less secure is more about trust than the crypto algorithm...
The strongest algorithm with no trust in the authority issuing it, is useless.
I think this is word-games. If all we cared about was cryptographic security we wouldn't have have certificate authorities in the first place, making certificates that are themselves secure isn't hard. The only reason we care about certificate authorities is because of the security of the surrounding process: which is exactly the stuff that Mozilla is complaining about.
You're minimizing the most important part of a certificate authority. It's like going into a discussion about a potential phishing vulnerability and saying, "there's not security risk because the browser requests are still going over SSL."
The point of a certificate authority isn't just to have cryptographically secure certificates, it's to have a secure issuer. So it feels really misleading to completely jump over the concerns Mozilla has laid out about weaker standards for issuer security and say that it's fine just because everything is still encrypted.
There is alternative to both, the solution to corporations having too much power is NEVER giving that power to governments
We don't just need _cryptographic_ strength to deliver security, otherwise we'd all be using self-signed certificates...
I remember some years back there being much noise about supposedly atrocious behaviour by some of the default included cert issuers...
None of that is happening for QWACs.
I actually do not think that is what we want at all.
I distrust private companies too, but I trust Mozilla more than I trust companies like Camerfirma, and we have a pretty long track-record that shows us that governments are typically slow to address misconduct in private companies they're partnered with.
I'm not sure I understand why this is being treated as a private company vs government debate; in my mind this is a debate over whether we should all be required by the government to trust private companies that Mozilla claims already today don't meet their security standards. It feels odd to claim that a government telling me I have to trust a private company fixes corporate incompetence or malfeasance. You don't see a potential for abuse of corporate privilege or for exploitative behavior when a private, for-profit CA can't be distrusted in browsers without them first petitioning the government?
Yes - strictly speaking, those bad CAs can still issue "cryptographically secure" certs. However, the layman does not have a clue what "cryptographic security" means. They just hear "~~b̷̧͚́͝ȧ̷̠̜̦̉k̵̯̘̠͊̂e̴̞̓̃m̵̹͒̂͠o̵͎̣̎̓n̴͔̤̖̊̑o̴̙̰̼̍c̶͖̅͊h̶͔͛̇̓i̸͚̎n̶̮̬̊̒c̴̮̈̌ḣ̸̹i̵̤̊̈́n̴̹̮̾̃̈́~~ security", parse out the bits of English they do understand, and treat the rest as a linguistic intensifier, which is highly misleading.
In fact, "cryptographic" in this context specifically ignores the authentication of the key. It just means that it's computationally infeasible[0] to decrypt the message if you only have the ciphertext. However, in order to get this security, you need to make sure only the intended recipient has the key. This not only means that the recipient needs to keep their key safe, but that you need to make sure that you're using the intended recipient's key. Otherwise, an attacker could just hand you their key instead of the recipients, and then decrypt your messages and do whatever they want with them.
In other words, secure key authentication and exchange is a necessary precondition for cryptographic concealment.
In some simple cryptosystems, we don't talk about this, mostly because we imagine the recipient and sender exchanging keys in such a way that the system doesn't need to care about it. Perhaps they exchanged paper keys in person in the middle of a potato field in Idaho. However, this is highly restrictive; imagine having to drive to every tech start-up's HQ to copy some QR codes with their public keys on it before you could visit a new website. What we would rather have is a way to take one securely-exchanged key we already have, and use it to securely exchange more keys over the Internet.
That's what a CA ultimately is - an entity we already have keys for, that is capable of making sure our recipients are who they say they are. So if I go to news.ycombinator.com, the server I connect to will send me a message from that CA saying that they checked the server and validated that it's run by the person who owns news.ycombinator.com.
Except now that makes the CA the weakest link in the system. A CA that is malicious can totally strip any and all of the protections that HTTPS is supposed to provide. So browser vendors are really, really picky as to what CAs they put in their trust stores. CAs that habitually make mistakes or lie out of their asses get removed because they are not trust-worthy. Any legal proposal that would make it easier or even possible for them to reverse such a decision needs to be treated like cancer.
Yes, I know that browser vendors hold a lot of power in this equation - but there is little evidence that the measures they impose upon CAs are excessive or pretextual. Furthermore, the proposed replacement is making mistakes that the browser vendors aren't, so it's a strict security downgrade for no added freedom[1].
[0] trying every possible key requires more compute time than exists in the current universe
[1] CAs are sideloadable on every device ever. Yes, even iOS. However, the only use for this is for...
- Securing local web servers without an FQDN
- Using enterprise security/spyware/filtering products that need to strip HTTPS in order to work
I know of no case in which a CA has gotten into the business by telling people to install their alternative certificate. There are some edge cases in which very large CAs - specifically Let's Encrypt - have transitioned from having another root cross-sign them to becoming a root CA themselves. However, that only affected really old devices, and you could at least theoretically install the ISRG Root X1 cert on that device to work around this.
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-septe...
There was a proposed Kazakhstan root cert for nationwide MiTM, so you could argue that was its purpose of their CA. Darkmatter (which had somewhat of a legit claim as they are the local gov IT provider) tried to get root CA inclusion too, but the risk of MiTM was too great and was rejected -- allegedly, potentially, for this purpose too.
CAs can sign certs for any website, that absolutely makes the web less secure.
Really good behavior from the browser vendors. Either the TLS chain is working or it is not. There is little nuance in the chain of trust.
Since encryption seems to be the enemy dejure of governments, I would expect the next step would allow decryption by state executive forces if such "certificates" were established. This seems like getting a foot in the door.
But I still wonder how it would enforce compliance. Certificates can be added and removed from browsers. Some use the OS certificate store and some have their own. I hope the community keeps a watchful eye. Because a mandated certificate is the opposite of secure.
I expect you meant to write "du jour", French for "current, of the day (jour)". Fire your autocorrector.
One way browsers could push back at least a little on this would be to make cert auditing like this easier, and, if not already possible, potentially expose it to extensions. Preferably with a brand new "manage certificates" extension, which the browsers are welcome to and/or invited to festoon with whatever dire warnings about security they like. (It's hard, if not impossible, to create an interface to improve security like this that can't also be used to tear it down.) Giving enough visibility into the cert process that an extension could flag "hey, this is a new root cert you've never seen before" would be nice too.
Obviously, my metaphorical grandmother isn't going to be interested in this, but it could at least start a more community-oriented "conversation", in the form of running code, around what cert authorities I trust, rather than the browser coders.
I'm not looking to see if this already exists, because if it does I'm sure someone will know exactly where it is and what it's called and can link it to me, and everyone else reading. Please do, if it already exists.
… this seems like a convenient way to allow the EU to provide their own CAs who will be willing to cooperate in issuing MitM certs, achieving the goal irrespective.
Certificate Transparency will surely help with this, assuming that they don’t try to override that too, but I’m curious to research now and see if the EFF is taking note of this.
https://en.wikipedia.org/wiki/Export_of_cryptography_from_th...
https://en.wikipedia.org/wiki/GIF#Unisys_and_LZW_patent_enfo...
https://en.wikipedia.org/wiki/General_Data_Protection_Regula...
Export controls on cryptography were eliminated decades ago as it became clear that they made no sense and were counterproductive in a world where the Internet exists.
Patents are a legal concept that has been in existence for centuries but enforcement is only possible through civil court proceedings between private parties. Governments are not directly involved in enforcing patents. Moreover there have been few if any successful patent lawsuits against open source software.
As for the GDPR, from the wikipedia page you linked it appears to apply to enterprises that process data, not software. I don't think the GDPR attempts to restrict what data a software program can process locally on your computer. It only comes into effect if that data gets sent to some company.
According to that Wikipedia page, some restrictions remain today. Even if there weren’t anymore, I wouldn’t call it a territory uncharted because we haven’t been there for a few decades.
> Governments are not directly involved in enforcing patents.
Not directly, no, but they decide on what’s patentable and what’s not, and on how long patents hold. For example, AFAIK the periodic Disney patent extension doesn’t come about from civil court proceedings between private parties.
> I don't think the GDPR attempts to restrict what data a software program can process locally on your computer
Similarly, I haven’t read the proposal, but don’t expect this regulation will forbid you to use any kind of certificate locally on your computer, or between your own computers.
> It only comes into effect if that data gets sent to some company.
That, IMO, is limiting “what end user software can do”.
I find mitm fears related to CAs rather funny when everybody uses cloudflare anyway.
Certificate authorities like Camerfirma[1] were revoked from all browsers because of numerous policy violations. This legislation is intended to force browsers to accept their certificates.
As an English citizen I sure as hell wouldn't want this to happen though.
This won't happen, so none of what comes after matters.
> As an English citizen
England is not part of the EU.
So? Stuff like cookie consent banners are the EU's doing, and they happen worldwide now.
(Burning karma for duck news jokes)
Yes mozilla, I don't trust you
And btw what you do is called political interference, you should be ashamed mozilla
> is causing concerns
hahaha, what's the goal here? spreading fear and misleading people into thinking that's how they should feel?
typical from mozilla, trying to save their sinking chip
It's not a question of trusting the EU, but of user autonomy. Even if the EU were 100% trustworthy, that shouldn't let it force users which certificates they trust.
If I phone a friend, but his voice sounds off, and his manner of speech unusual, so that I suspect he's being impersonated - what business does any government have telling me that I must trust it is indeed my friend on the line?
I'm not clear on the "forced" aspect of all this EU regulation. How does the EU force Firefox/Mozilla, Google Chrome, or any software in existence to recognize the EU's list of certificate authorities?
Sounds like compelled speech. How the EU plans to force somebody to write source code to open source projects is an amusing idea... Would I break the law if I forked Firefox, and chose not to include the EU's certificate authority? IF yes, how are they going to compel my speech outside the EU?
Sound like the EU will have to create their own web browser.
Here's some ways to implement this:
1. Have CAs publish a list of domains and company names. This is problematic because lots of companies have different domains and legal entities, and it's very likely an attacker could list a company that sounds like another company with a malware domain.
2. Volunteers register companies and their domains and brand logos in a Git repo and companies can request changes if need be. They'll be explicitly only trying to list domains that people have asked for and scrutinize them to prevent adding phishing sites.
The latter would have some problems I'm sure, but it gets closest to what users want, which is "show me Bank websites" / "show me Bank of America's website". By having a curated list and some strict policies on managing the list, it will probably be much safer and easier than any other method that exists today to find a company website. Additional techniques could add integrity, like a reporting mechanism, and a star feature to favorite specific sites so they come up first with the number of times they've been starred.
It's still best and simplest for a certificate to be tied to a domain, not a company. The last several years has shown that attaching a certificate to a company is ignored by users and doesn't add any security. Attaching a certificate to a domain is something that can be done with a high level of security and assurance, but attaching it to a company (or product) cannot be as securely done, and is information that is less useful.
Their clients will only display todsites.