by zmmmmm · 7y ago · 0 comments
Can you clarify? Wouldn't just having a second key which the government keeps in escrow in case they need to decrypt a message achieve exactly what you are saying is impossible?
(Note: I don't agree with the laws being created to undermine encryption ... but I think it undermines the argument against it to overstate the case.)
If we take it to mean all governments, then that means China gets a copy of the key and can use it to spy on the communications of the Australian government.
If we take it to mean just one government (or a few select governments), then what is the criteria for deciding the government of country X should have a key but country Y should not?
Ultimately of course it comes down to a matter of coercive power and jurisdiction, which particularly complicates efforts trying to build products or services that are intended for global usage. I believe we need to push back against anti-encryption laws in the west so we have some ground to stand on when making a case that they shouldn't be accepted elsewhere.
If you haven’t worked much with a large government, you don’t tend to realize just how fractured it all is.
At this point the anti-encryption spooks and politicians have shown they don't want to listen so reaching them is impossible.
The rational debate has been over for decades and we won. Only irrational remains which means it is time to get downright mean. Instead cut them off and discredit them. Show no mercy to the evil fools.
How would that work? A basic principle of encryption systems is that only relevant parties have access to the secret information. Typically in asymmetric systems they generate their own private key or other secret and never share it with anyone. Moreover, techniques like perfect forward secrecy rely on generating new session keys at each step.
As soon as you mandate a systemic backdoor where someone else's secret can be used to unlock anything, you have undermined the whole premise of the system and created a huge single point of failure.
Not only that, but normally if there is any concern that a key has been compromised then you can change it to at least continue to protect future communications. With this sort of back door, any compromise is permanent.
If you think that's not a serious risk and governments could be trusted to keep such an important back door key secure, let me first ask you this: which government(s) should have access to that key? What happens when, say, someone in the US has family in Iran, and the governments of the US and Iran both insist on being able to intercept messages between them? What happens if a more authoritarian government is elected in Australia and a more liberal one in Canada, and the Five Eyes agreement collapses?
Don't forget that a large part of the reason there is so much public debate about these issues today is because someone walked out of the most powerful intelligence agency in the world with the modern equivalent of a note of its deepest secrets in his back pocket and then shared that note with the world.
Well, the government is now one of the relevant parties. It doesn't change anything fundamental about the encryption. It just adds the government as a party. I get that you think that is bad (and I do too), that you don't trust the government. But it doesn't break the encryption, that keeps working perfectly, just like it did before. Just more parties have access.
The problem here is so many people are going around arguing against this by saying it "breaks" or "backdoors" encryption. And all those people are being completely ignored because the government is getting perfectly reasonable advice that says that it isn't breaking anything.
It does change something fundamental: now you have three parties instead of two. Take for instance the most popular key agreement protocol, Diffie–Hellman, and suppose Alice wants to use it to send a message to Bob. When the only parties are Alice and Bob, she can do some calculations with her public key and Bob's public key, and then she has the shared key to be used to encrypt and authenticate the message; these calculations can be done fully offline. If you try to add a third party (George), not only are the calculations more complex, but also they need to be online (all parties have to exchange messages before any party knows the shared key), which makes important use cases harder or impossible.
And note that I said above "encrypt and authenticate": possession of the shared key allows one to also forge messages. When there are only two parties, this works fine (Bob knows he hasn't forged anything, so the message can only have come from Alice); with more than two parties, that is no longer the case.
That is: the design of a three-party protocol is very different from and much more complex than a two-party protocol. And it gets even more complicated once you want one of the parties to be able to decrypt and validate but not forge messages.
Or is this really about seeking a means for dragnet surveillance?
In any case, I don't know how to explain this without getting into a lot of technical details, but introducing an extra party who can read everything like that does fundamentally change the nature of the system. If you want a system where data is encrypted such that two independent parties can each decrypt it using only their own secrets, how do you think key exchange, encryption and decryption would work?
And if the government's private key has been leaked? How many parties will have access then?
Lol! No, no, no, no, no! It does entirely!
Others have already pointed out the problems of who has access to that key, I'll simply point out that the system would potentially collapse under its own weight. If there is a single master key then it's a huge risk. If that risk is recognized and there's a way to invalidate and replace that master key then suddenly you have an entire additional infrastructure of communications for key replacement that has to be in place. If you have multiple separate keys generated at the initiation of each encrypted communication, then there has to be a separate secure infrastructure for transmission of the additional key to some government entity. As a side note that potentially secure infrastructure by law probably has to have the same key sharing requirements. You also run into problems with things like embedded systems, and if you don't think that's a problem look back at the problems in the networking stack used in vxworks and other embedded systems that are in the field and effectively unpatchable.
Edit: ipnet, URGENT/11, https://www.bleepingcomputer.com/news/security/urgent-11-vxw...
Edit2: I forgot to mention, this is an all or nothing decision. If you're mandating this it has to apply to ALL communications or you end up with things shifting channels. Banking transactions? Master key. Medical patient portals? Master key. VPN to the office? Master key. Any secure website connection? Master key. You likely have to make using any non keyed encryption illegal with severe penalties, and you have to devise a system in which it's possible to identify encrypted communications not encrypted with that key without that key being available.
Wouldn't a similar argument apply to the secret keys at the roots of Microsoft's and Apple's and many other organization's code signing systems? And the secret keys at the root of SSL security?
We've already apparently decided that it is OK to rest our security on the idea that careful organizations can keep secret keys secret.
If a government escrow key was kept in a two rooms with air-gapped computers, one on either coast, and anybody hoping to decrypt messages will have to mail it on CD there and get a CD with the decrypted messages mailed back. I could see that system actually keeping the key secret. But proponents of the need for key escrow argue that existing decryption techniques are too slow and inconvenient I don't think that they would be satisfied with this solution. So I'd expect that anyone on the IT team at any of the FBI's 50 or so field offices to be able to get access to the key and so for it to leak in short order.
This goes to the heart of the real issue and argument that I think is more powerful ultimately, though it is harder to express.
Authorities argue that they are not getting anything new because they always used to have the ability to intercept phone calls, open mail etc. So they argue that interception of encrypted messaging is just "status quo". But it is NOT status quo, because being able to do it at large scale, using automation, sophisticated data analysis and with an overall order of magnitude less effort actually changes the fundamental nature of it altogether.
The powerful argument to me is to use a judo-style move where opponents of intercepted messaging actually embrace the "status-quo" argument but then use that to re-establish the same high threshold for that interception that used to exist.
For example, if the authorities want access to a specific communication stream, then they should have to involve the messaging provider and they should have to get a one-time key that is set to expire or scoped in some way to specific messages, and they should have to concede to limitations on how secretly that can be done. The most powerful argument of all is that anything that is more invasive will foster a huge ecosystem of end-to-end encrypted services. Encryption is ultimately mathematics and you can't stop people using it. The best you can hope for is to create something that is close enough to OK with everybody that the ecosystem doesn't grow because most people don't care.
I'm not sure that's true. We might tolerate that situation in specific circumstances where we haven't identified any better choice, but that isn't the same as thinking everything is OK.
For example, in the case of certificates used for things like downloading web content over HTTPS, the centralised nature of the CAs and the track record where not all CAs have proved to be trustworthy is a significant concern in the industry. This remains the case even though browsers can revoke the root for any CA that is compromised and despite the increasing use of mitigations like perfect forward secrecy.
The rise of Let's Encrypt in particular has been a boon for moving smaller sites to serving over HTTPS by default, but given how many sites now rely on it, it also creates a huge single point of failure in the security infrastructure of the web. Notwithstanding the precautions taken by the operators to keep the most important secrets secret, if anyone hostile did ever manage to compromise that infrastructure covertly, that would be catastrophic for security on the web.
If Microsoft or Apple leak their keys, they at least will spend a lot of effort on cycling keys to their huge number of deployed products and on the PR fallout. If it's managed poorly, they may lose customers.
If the US leaks their key, tough noogies, it's mandated to use that one. Companies, much less people, will find it hard to move to another country with better key management procedures.
Imagine being an outspoken left-wing blogger in America that votes for this. Imagine then Trump gets elected and 'the government' is now an entity that actively breaks established laws and targets outspoken critics.
Imagine someone even worse than Trump is elected after that.
Imagine the key is leaked.
Imagine China makes a trade with your government for your key.
There is no taking back that key now, whoever becomes 'the government' at any point in the future has it.