by mytailorisrich · 5y ago · 0 comments
In this case the right to privacy has to be balanced with the need in society for the law to be enforced and police investigations to be carried out.
There are never been "end-to-end" unbreakable privacy. People have a right to privacy so their private communications are kept private but at the same time the police has always been able to access those communications should it be necessary and according to the law. Claiming that an 'intact' right to privacy means an absolute right to absolute privacy is simply not how it has ever been.
Strong end-to-end encryption essentially means that the police cannot access communications ever, even if they get a warrant because they don't have a technical mean to do so. That's quite reasonably something that is deemed a problem. How do we deal with this?
1. Secure legal communication that no-one can break. 2. A ban on strong non-backdoored encryption, where the backdoor keys will be misused and leaked to criminals. Meanwhile, criminals can just keep using secure illegal communication that no-one can break.
Maths means that you don't get to choose a position in-between these two choices.
It is possible to construct end-to-end strongly encrypted systems with a backdoor that is governed by a strong social consensus process.
For example, Shamir secret sharing to split the backdoor key among a group of parties that you respect in aggregate. If, say, 50% of those parties agree that you've been a particularly awful criminal they might vote that your nefarious chat should be opened up for the authorities to examine, by contributing their key fragments.
All sorts of social consensus protocols can be built, with arbitrary rules. Probably most of them aren't such a good idea, but math does allow it.
These days we would probably use a blockchain and smart contracts to provide very strong barriers against leakage. Imagine the key fragments locked inside a smart contract that only gives out the key when N anonymous decision makers concur that the key should be given out, as well as deciding to whom it should be given. In some zero-knowledge protocols it would not even be possible to find out who voted, only the result.
It is also possible, in ideal maths world, to design systems where an AI trawls through private conversations but can only reveal information if certain conditions are detected. That sounds a bit dark, but if the conditions are also governed by social consensus processes perhaps that isn't so bad. For example if the AI is instructed (by social consensus, not authoritarians) "only extract a network of conversations if they show a clear pattern of $ParticularlyAwfulCrime, otherwise leave people to their privacy" perhaps that isn't so bad. We don't have the technology to do that now, but we may get it eventually; math is not the obstacle.
You are implicitly assuming that this is the only way that the chats can be decrypted. This is only true until the keys are compromised. And the keys will be compromised, because:
1. The keys are worth a lot to the right people.
2. The parties which have the keys have no real incentive to secure the keys well.
3. There is no way for an party with a key to become aware that the key has been compromised.
1, 2, and 3 will combine into a state of the world in which the keys are always compromised.
However if the keys are encrypted in such a way that parties can only decrypt them by posting confirmation to a blockchain (or equivalent), two things occur:
2a. The parties have a very strong incentive to secure their transaction-posting-keys, because those are the same keys as they use to protect their own other valuable assets such as cryptocurrency, or whatever else they are securing these days such as DAO governance. Some people will be sloppy (and lose their own money and other things), but on a large scale, perhaps it's an open question so far how many people will be that sloppy. If it's not too many people, the system is not compromised.
3a. Any party will become aware their own transaction-posting-key is used as soon as they see a transaction under their identity posted to the blockchain they participate in. They can also see how it's used.
I've said blockchain but it doesn't actually need a blockchain. If there is one, it can be private or public. Either way, 2a and 3a apply.
The main thing is there is an agreed "consensus location" into which people can choose whether to pool enough information to reconstitute the originally protected conversation key, with their only unencrypted secret being their multi-use key they are strongly incentivised to guard (2a), and to which they will only post if they can detect when it's used and limit how it's used (3a).
Second the logistics of it are "clever dick" as opposed to a real solution - like suggesting using one off Hoffman encoding to compress a large file to only 1 bit.
Third - blockchain to protect against leakage? That is the exact opposite of its job. Buzzwords aren't magic spells.
(That said, on trust "If I trusted them they would have been party to it in the first place!" doesn't make sense. There's a huge difference between wanting to share all your content with a group of people all the time, versus trusting those people to make a collective decision to release your documents, for example when they agree that you have died. People are seriously examining this sort of mechanism now because it's relevant to modern life. For example releasing your password and accounts store to family or trusted friends upon your death or incapacitation, using some kind of distributed dead man's switch that needs human judgement to confirm.)
The fact is, mnw21cam's statement that there are only two possible branches because of maths, depends on the assumption that keys "will be leaked" being inevitable.
A sibling commenter believes it is inevitable they will be leaked no matter how sophisticated an aggregation mechanism is used. That is a reasonable argument, though one I disagree with.
If you have a threat model strong enough to break the distributed consensus mechanism of things like Ethereum, then you have a threat model that invalidates branch 1 in mnw21cam's list as well as branch 2, so you cannot win: Under that model, you cannot have "secure legal communication that no-one can break" because your own device is vulnerable to compromise as well. You should find a way to talk without a recording device.
Your #2: What I've said is a real logical possibility, and in fact is what we might actually end up with in a number of areas of life. It is not as 'clever dick nonsense' as you think. It might be an undesirable idea, but it is a technically possible one.
Your #3: Yes blockchains store and publicise. They also implement strong distributed consensus, and on top of those other things are layered, such as Ethereum-style smart contracts, and zero-knowledge calculations. If you think those cannot be used to control the release of fragmented or encrypted secrets driven by measurements of human decisions, you haven't understood them yet. I really recommend you look at ZKProof.org, and have a think about how privacy-maintaining blockchain coins like Zcash and Monero are able to use a public blockchain to exchange secret transactions.
Note: I have no stake in this, I'm not a cryptocurrency or blockchain fan particularly. But I do understand how they work, and I'm not fooled by the buzzwords (at all, I'm quite skeptical).
What you're looking for is a protocol where N parties have to agree in order to decrypt any given message, and agreement to decrypt a particular message doesn't allow them to decrypt any other messages. Here's one that might accomplish that (disclaimer: I am not a cryptographer):
- People can use whatever end to end encryption scheme they like to send their messages, but they must Shamir-split the key into N parts, and send those parts to the relevant authorities.
- We can check that people are obeying this protocol without violating their privacy by the following method: Every time someone sends a message, they xor it with a string of random bits. Then they send it in 2 parts: the xored message, and the original string of random bits. The original message can only be reconstructed from both parts. Each part is sent with a separate key. The N authorities randomly choose one of the two parts to open. They then check that it decrypts properly (messages will include a hash of the contents, so that this is easily checkable, and difficult to fake).
- Of course, people may not trust the authorities to only decrypt one of their message pair. The solution to this is that the list of N authorities is always the same, except for the last one: this is a choice server. People can use whatever choice server they like. However, all choice servers are required to be auditable by both the government and the public. It's the choice server's job to (1) randomly choose 1 message from each pair to decrypt, (2) not release the Shamir-fragment for the key to the other message unless given a warrant by a judge.
Of course, this will be inconvenient, imperfect, and add a heck of a lot of overhead. Some choice servers will be found to be corrupt either in favour of the intelligence agencies, or the criminals, having managed to hide their corruptness from audits.
It also will not stop determined criminals from using their own encryption. It's not all that easy to tell when people are sending encrypted messages to each other, the messages will just look like random bits. There are plenty of places in perfectly innocuous seeming messages to hide random bits. They could even be hidden as noise added to a particular image. A random-bit-hiding arms race is one that cipher-users are inevitably going to win.
Fair enough. I intended that it's not a long term key, but something more appropriate like a session key.
Or better, more like a "query key" that limits what can be extracted from a session to whatever has been approved to be extracted. (See "zero-knowledge database".[1])
> What you're looking for is a protocol where N parties have to agree in order to decrypt any given message, and agreement to decrypt a particular message doesn't allow them to decrypt any other messages
That's what I meant, yes. Sorry for not making that clear.
> Same problem with giving the key only to an AI: The AI needs the key, and it will be difficult to ensure that the AI system isn't hacked
Ah... The other thing I didn't make clear is that the AI runs inside homomorphic encryption[2], or other protective bubble against access (one can imagine a quantum state with this property). This is why I said we don't have the technology to do it yet. Not because of the AI, but because we don't have sufficiently powerful methods to run an AI (or any large program) inside a bubble that prevents them from being inspected. But we know it's possible in principle.
[1] https://www.cs.jhu.edu/~susan/600.641/scribes/lecture15.pdf
Edited from "has never been"
In what country? France, for example, used to restrict the use of strong encryption. Example summary: http://www.opengroup.org/security/meetings/apr98/French-Encr...
This isn't true. It means they cannot access communications without revealing to at least one of the communicating parties that they are doing so. The messages are still decrypted on the endpoint devices for reading, a warrant could be used to acquire those devices from their owners. Device encryption can complicate this some of the time, but that remains fairly hit-and-miss (and is a separate issue, you could have mandatory key disclosure without backdoored E2E and vice versa).
>the police has always been able to access those communications should it be necessary and according to the law.
And neither is this. To find out the contents of a verbal conversation that was not recorded (most of them, even today) the police would need to ask one of the participants to tell them what happened, and the participants can usually refuse to self-incriminate. Even if the conversation was recorded the recording would usually be in the possession of one of the participants as recording a conversation while not being a participant is illegal, at least where I live. To find out the contents of a letter they would need to intercept it during transit or recover it from its destination at a later date. If the letter has been destroyed they're back to asking the recipient or sender to tell them what it said who again can usually refuse to testify. To find out what was said via instant messaging under this no end-to-end encryption scheme, they can, at any time, simply ask a third party who cannot refuse to testify. This is an utterly unprecedented invasion of privacy and I struggle to see anything that could justify it in a (part of the) world where crime seems to be on a downward trend.