34 points · by llambda · 14y ago · 46 comments
(Disclosure: haven't bothered to read the arXicle.)
How would you do this with classical cryptography?
Isn't the point about this particular flaw that it is pretty much undetectable (other than inspecting the hardware itself (which is outside the scope of the article that treats it as a black box)). If the same were to be implemented on classical cryptography it would be comparatively trivial to detect if someone tried to sneak in an old message interleaved with a new message (you know the plaintext + key and thus you know exactly what that will generate).
The compelling argument for quantum cryptography is that it is provably secure (well, that's the theory) and it is quite difficult to prove that the hardware has not been tampered with.
The thing you could do with classical cryptography is to in some way "leak" the key (such as what debian inadvertently did with openssl) but the whole point of quantum cryptography is to have a perfect key distribution to combat any known or unknown attacks.
I found the abstract, http://arxiv.org/abs/1201.4407 , shorter and more informative than the article.
Nearly every classical cryptography device uses a source of entropy; if you break that intentionally then you have a side-channel.
Quantum key distribution (QKD) promises security based on the laws of quantum physics, and not on computational assumptions. However, in practice, QKD experiments have been attacked through side channels. One possible side channel comes from a malicious manufacturer. Side-channel attacks also affect classical cryptography, of course, but might be more important for QKD because:
1. Quantum devices are harder to build and test, and less understood, than classical devices, so side-channel attacks might be easier, at least for now.
2. The goal of QKD has always been to reach higher security than is possible classically.
"Device-independent" (DI) QKD solves this problem. DIQKD allows for extracting a secure key even if the crypto devices are manufactured by your enemy. This should be hard to believe; it is completely impossible classically. It is very cool that it is (probably) possible quantumly.
I say "probably" because full DIQKD security proofs do not yet exist; giving a full proof is a major open problem in the field. From the perspective of people in the field, the next step in the DIQKD roadmap would be to deploy a DIQKD experiment. Although standard QKD schemes are even commercially available these days, deploying a DIQKD scheme is another major open problem because the schemes proposed currently are far too inefficient to be practical and require noise rates below current photon detector technology.
The new paper says that we should reconsider this roadmap. Even if we are able to give a DIQKD security proof, there is still a problem, because when you reuse untrusted devices they can leak previously generated keys. I don't have a lot of time to explain this and don't know that it is an especially novel observation. It can probably be worked around with more sophisticated key-generation methods. But that's essentially the current status.
You mean, if you store the encryption key and later reveal it to outside sources, your secure communication is no longer secure? SHOCK AND AWE.
It's complete fluff that has nothing to do with quantum cryptography, just the intrinsic chain-of-trust of whatever hardware you're using. If something you're using is untrustworthy, the whole chain is - this is not a new discovery.
Authentication can be established using a shared secret (which is why purists sometimes refer to QKD as a key expansion protocol). Or, it can be established using signatures and certificate authorities. It is worth pointing out that man-in-the-middle (MITM) attacks must be made online; if you break a signature scheme a year after the QKD protocol finishes, it does not compromise the key.
If I buy two 5-bay DROBOs, 10 2 TB HDs, and a hardware random number generator, I could make a multi-TB One Time Pad, and copy it onto the second DROBO.
I keep DROBO one, and physically carry DROBO two to my intended recipient.
What are the problems with this?
It's cheap. It's as secure as any communication could possibly be. It provides for a whole lot of communication, with relatively little physical effort.
(This is without getting into the fact that a single keystream is not a secure message exchange protocol, and that conventional cryptography has well-tested ways of linking confidentiality secrets to integrity secrets and of marshalling and canonicalizing messages; I'm just answering your question on its own terms).
None of this has much to do with QC, by the way; as I understand it, QC replaces conventional number-theoretic public key crypto, not block and stream ciphers.
I have to build protocols around making sure to not re-use parts of my One Time Pad. Around making sure that I validate messages. Asking for a re-send of a message. Destroy the One Time Pad because it's been compromised, etc.
But at it's core, using a One Time Pad is a secure message exchange protocol. I'm surprised to see you contradict that.
> and that conventional cryptography has well-tested ways of linking confidentiality secrets to integrity secrets and of marshalling and canonicalizing messages
I'm sorry - I don't know what you mean. Can you explain it to me more simply?
Cryptotext = Plaintext XOR OneTimePad.
Plaintext = Cryptotext XOR OneTimePad.
As I said, I have a lot of work to do to handle my One Time Pad... But the fundamental mathematics are secure. And you seem to be saying they are not. What do you mean?
> None of this has much to do with QC,
Agreed - that's why I called it a tangent.
(I don't mean to be offensive. I don't understand bioinformatics, for instance, and probably shouldn't build mission critical things that rely on it.)
Also you can't prove that someone doesn't sniff the traffic when you copy it to your second DROBO and you can't prove that none of the drives have been copied afterwards.
Not saying that your approach isn't "secure enough" (I'd guess that's what they do on submarines?), but compared to (the theory of) quantum cryptography it has many flaws.
> You can't prove that you can trust the carrier.
I said that I physically carry DROBO two to my intended recipient. I can trust myself.
> Also you can't prove that someone doesn't sniff the traffic when you copy it to your second DROBO and you can't prove that none of the drives have been copied afterwards.
There is no such thing as secure communication. Copying data from one DROBO to another DROBO is about as secure as I could possibly imagine.
Physical security is a failure point in any system. As much as I can trust my sending location, and my receiving location, I can trust this system.
> compared to (the theory of) quantum cryptography it has many flaws.
Compared to quantum cryptography:
I can't prove that I trust the person who set up the quantum cryptography system.
I can't prove that someone doesn't sniff my connection to my quantum key system. I can't prove that someone doesn't sniff the data coming out on the receiving end.
I think this all boils down to physical security - which is a problem in any secure communication system.
And I think my two DROBO, ten HD, one hardware random number generator, one round-trip plane ticket, system is about - mmm - 4 to 6 orders of magnitude cheaper.
But can you trust yourself to not take a large enough bribe? What if someone hold someone special in hostage?
If you only have to convince yourself (quite limiting scenario) I see no, major, problem with your setup. This of course assuming you have eye-contact with the DROBO at all times etc. etc.
Most scenarios however you can't have as much trust in the carrier as you have in yourself.
But I agree. When reading quantum cryptography and its issues I often get the feeling that its all a bit silly. But I totally get the motivation about it, it's extremely enticing. However, I see why some likes to claim that quantum cryptography is just a way for physicists to get paid :P
But there seems to be a market for it and I have no idea how far it can go.
2) I can flip bits in your message without you detecting it.
3) I can send random messages and get your receiver out of sync with you.
2) I can always have a Message Digest of my message included.
3) If the Message Digest doesn't match, the message will not be accepted as valid. The receiver will not be out of sync.
A problem with public keys is that they rely on math that we presume is hard.
One Time Pads do not depend on that.