Following the deaths on Westminster Bridge in London on 22 March and the news that the attacker had used WhatsApp minutes before the attack began saw the UK Home Secretary call for access to encrypted messages to be made available to authorities for occasions that justify it. It is not a new call and many other agencies around the world have suggested the same.
It seems reasonable, but misses the basis of how and what encryption seeks to do. No encryption is totally secure (quantum options come the closest though). However, creating a backdoor, in effect, renders the entire system insecure.
Confused? Here is how it works...
Our privacy is safeguarded with security measures. These include physical security like a fingerprint scanner or with access control like a password. Then there is data stored on a device or the contents of a message that is transmitted. This is where encryption comes in.
You could encode your message using a cipher to change the contents in a specific way.
Consider “Safe” is our message and our cipher was to replace each letter with the next in the alphabet which makes it “Tbgf” - it is meaningless unless you know how to use the cipher to decode it.
Using a code as we did here is also not very safe. Should it be intercepted someone could try many codes until it made sense. Computers are capable of testing many types of codes very quickly to, in effect, crack it.
Encryption limits access to the contents of a message using a formula for an equation.
There are two parts: the “public key” which is the means to create the equation and the “private key” which is the only one that can solve it.
The means to create the equation is shared with anyone, which allows a message to be encrypted, but only the person that created the key pair will be able to decode it.
Encryption as is used by services like WhatsApp uses the two keys, a public and a private key, the two parts of the equation.
When you wish to send someone a message, WhatsApp encrypts it on your phone using the public key for that message. It can’t be directly unencrypted because it is a number equation that is practically impossible to solve by testing possible options.
A very simple version would be to consider the number “15” as your public key and the equation “3x5” as your private key (they are typically prime numbers), it is easy to see that 15 is equal to 3x5 which unlocks the file.
The actual numbers are much bigger, hundreds of digits long, proving them is easy, solving them is very hard (if you are a regular of Business Unusual, you will recall how the blockchain uses a similar technique).
So how would a backdoor work?
Strictly speaking if a backdoor can be created, you enable another way for anyone to workout how to decrypt that file.
Authorities would like to think they could keep that method safe, but given how many people would need to get access to it, and that it existed would be public knowledge, the system could be compromised and rather than increasing security, you effectively remove it.
The error occurs with our understanding of how locks and keys work in the real world. A lock can have more than one key, but that key can still only open that one lock.
If someone were to make a master key, you would need to make all locks the same way and that one key would open everything.
There is very little security in a system that allows for a master key, so authorities requesting a master key are not only not likely to make their citizens more safe, they are likely to make them more vulnerable.
There is a reason we should be calling for even more security because most users are unable to keep up with the functionality of their devices and this ignorance makes them more likely to be compromised by suspect apps, or people physically gaining access to their phone.
This is a basic summary of the issue and it does not address what could or should be done to limit the use of services like this by those that will break the law or cause harm.
There are no arguments to say people should not get access to cars because they could run people over because we understand the relative threat versus benefits cars provide. However, because most of us have a limited understanding of digital security it seems justified to believe the current solutions are practical ones.
So the best answer to the question posed at the beginning (who should be allowed access to your encrypted data?) remains, for now, no-one without your express permission.
This article first appeared on 702 : Who should be allowed access to your encrypted data?