7 ms·
One-Time Pad reinvented to make electronic copying impossible
- Tycho 13y agoWhen I read articles like this, I imagine scenarios involving some United Earth Government sending vessels deep into space with one time pads which would protect us from evesdropping from advanced hostile civilizations with vast computing/cracking power. I guess it would kind of suck if your glass got broke and then you couldn't decode any more messages from Earth.
- Lanzaa 13y agoThis is a very interesting way of solving the key distribution problem. It forces attackers to capture both the digital part of the key and the physical.
- rosser 13y agoThis doesn't solve the key distribution problem at all: To start off, both Alice and Bob must have their own slabs of diffusing glass and must physically meet to create a key for encoding a message later. Like any other OTP system, key distribution — ensuring that the parties who wish to communicate securely have a shared secret (or secrets in the case of OTP; the whole point of OTP is that a key is only used once) — is the weak point. Unlike many other OTP systems, this one requires a physical meeting, which, depending on your use-case for needing crypto in the first place, may be impossible, or deadly dangerous. At best, this complicates key compromise. EDIT: clarifying language.
- _red 13y agoCorrect, I can't see the practical use of this. If Alice and Bob must have a secure method to jointly compute K(A) ⊕ K(B), then why wouldn't then use that same method to just exchange the data?
- dsr_ 13y agoAt the time of their key-exchange meeting, they don't know what messages they will want to exchange later.
- doktrin 13y agoI feel like I'm missing something. Isn't this still vulnerable to "electronic" intrusion, since the light-slab-cipher has to presumably be read into some type of memory somewhere, somehow?
- chacham15 13y agoYes, they assume that the sending/receiving machines arent themselves compromised. That case, however, doesnt have a solution as of yet (that I know of). The point is that any machine intercepting the transmission of the message has no way of possibly decoding it period. It absolutely requires the key to be decoded.
- jere 13y ago>That looks to be a significant improvement over any kind of cryptography that stores keys electronically and is therefore vulnerable to an electronic attack that can copy digital information perfectly. Hmmm... so is paper?
- chacham15 13y agoWell, you cant send paper privately in milliseconds across the country. But yes, the meeting to create the key limits the possible receivers as well as a connivance hassle.
- oofabz 13y agoThis is not a one-time pad. It uses a key that contains less information than the message. It is still possible to brute-force the key if you have enough data. It is a great way to make the key hard to copy, which is how encryption is usually circumvented in practice.
- danbruc 13y agoYou misread it - they are not using any short keys.
- _void_star_ 13y agoI'm not sure you right on this. The way I'm reading it they generate the keys by sending the same random signals through each set of glass. If they send N signals through the glass and N is >= the message length then it certainly is a one-time pad. The two keys end up being as long as (or likely longer than) the message, so you can't brute force it.
- duaneb 13y agoYou're assuming that the structure of the glass can't be 'compressed' with assumptions about the structure of the glass.... At least the key space could be reduced well below the naïve entropy estimate.
- mc-lovin 13y agoCan someone explain this to me? I read the article but it didn't make sense. The physical object as I understand it provides a source of random data, with the property that it is fast to do a single lookup (shine an arbitrary light pattern on it), but slow to copy the whole data. This means that an attacker who steals the object, but doesn't know which lookups will be done, won't be able to copy all the data. Now my objection is that the only lookups that the person who steals the object will not be able to do, is the ones based on random patterns that have not been published, i.e. the ones that are generated next time Alice and Bob meet. But from that point of view, it would be no less safe if Alice and Bob simply generated a one time pad and stored it when they met.
- chacham15 13y agoI understood that the lookups are standard, i.e. anyone can do them. The problem is that shining light through glass creates heat which can change the structure of the glass if you do it too often/quickly, hence the time limiting factor. Naturally, this would constrain the intended recipient as well. It is the outcome of these lookups that form the secret key.
- ReidZB 13y agoThe original paper [1] is much clearer about the actual algorithm. The below is pretty much pulled straight from it, although I simplify it slightly (by assuming one pattern, etc.) First, Alice and Bob decide on a pattern P. Then they each compute a key K(A) and K(B) using the pattern P by shining P through their slab. Then, they publicly publish P and K(A) ⊕ K(B). (Apologies for the lack of good mathematical notation, but HN is not a great medium for such.) Because P, K(A), and K(B) are all random, the attacker learns no useful information from these two published items. Now, for Alice to encrypt a message m, she computes K(A) ⊕ m and sends it to Bob. Once Bob gets it, he uses the public pattern P to recreate K(B). Then he uses the publicly published K(A) ⊕ K(B) to compute: K(B) ⊕ [K(A) ⊕ K(B)] ⊕ (K(A) ⊕ m) which is in fact m. At any time, the Eve can only know P (useless since she doesn't have either slab) and K(A) ⊕ K(B), which is not enough to recover the key or message. [1]: http://arxiv.org/abs/1305.3886 http://arxiv.org/abs/1305.3886
- 13y ago
- graylights 13y agoWhat's involved in the handling of this glass? They claim security because heating the glass damages its structure. A fingerprint or scratch would also damage it. Is it secure because it's just so fragile that it is plain unworkable in real world conditions? Also this article doesn't touch on whether the randomness generated is sufficiently random for cryptographic purposes. With enough error correction and an improper random distribution, it can become possible to break even OTP.
- ReidZB 13y agoI'm not sure about the handling of the glass. The paper [1] gives all of the specific materials used in the experiment, but it doesn't say anything about handling them and I don't know enough about the area to be able to intelligently comment... The paper also mentions that the randomness they are using passes the Diehard and NIST randomness tests, so it appears they are pretty random. Apparently, though, they have to sacrifice some of the bits in order to ensure that! It references "Supplements" E and F, saying they include more details, but they're not included in the arXiv paper. Of course, the original random patterns used to generate the keys are randomly selected too, so let's hope they're using a good random source for that... [1]: http://arxiv.org/abs/1305.3886 http://arxiv.org/abs/1305.3886
- Groxx 13y agoAs far as I can tell, it's just a reasonably large on-demand (until it overheats) source of randomness. All the other OTP principles hold, the glass-generated random bits are the only new things. And you can still "electronically copy" it - viruses are great at executing code, such as dumping all the random data such a thing can generate (they even say it would only take 24 hours, and less to upload). I suspect it's not even very good randomness. Long dark / bright lines from deeper scratches at either end, skewed randomness due to the atomic structure of glass (though glass is probably a reasonably good natural source, since it's not crystalline), that sort of thing happens when you're dealing with physical (hard, static) structures. And this thing has to be very reproducible or you can't decrypt your message, so we're not talking extracting randomness from a warm cup of tea.
- ovoxo 13y agoCan someone help me understand something - Manufacturing the "glass" in order to create at least 2 identical copies will require some blueprint. I would assume that this blueprint would be stored in some database or communicated to various parties in some fashion. Couldn't hackers just get their hands on this somehow in order to reproduce the glass without having to actually physically steal the glass?
- ReidZB 13y agoThe two slabs are actually different. See my explanation of the algorithm downthread: https://news.ycombinator.com/item?id=5741793 https://news.ycombinator.com/item?id=5741793
- ovoxo 13y agoAhh ok - great explanation btw. I'm still curious how this glass is produced. It seems to me that you would be introducing many more potential intrusion points by using physical encryptors since many more parties (people, databases, and systems) will be aware of the details in order to produce the appropriate slab. Having said that, the same thing would apply for any other physical encryptor that would have to be manufactured.
- duaneb 13y agoI'm also interested in how they introduce quality entropy into the glass. It's well-researched algorithmically, but are material researches up to it? Even subtle patterns could lead to within brute-force distance.
- rdl 13y agoThere's been a lot of "physically unclonable function" work, which IMO is a lot more useful for DRM and anti-counterfeiting than for encryption. The big weakness with OTPs is inadvertent key reuse, not someone stealing the key wholesale. Even with quantum computing, conventional OTPs are fine, provided keys aren't reused (or lost). OTOH there are plenty of other more efficient symmetric and asymmetric systems which are still fine under quantum computing, too. (it's really not much of an issue for conventional symmetric cryptography; yes, most common public key systems in use today fall to quantum cryptography, but their are known/viable systems which would be fine)
- calhoun137 13y agoOT: If two people have to send a signal to each other, they should be named Alice and Bob, this goes back to Einstein's paper on the EPR paradox[1], and is based presumably on the fact that Alice starts with A and Bob starts with B. Sometimes I read articles where Alice sends a signal to Charlie or something like that, and for me that is a huge red flag that indicates the author may not have payed much attention in school and/or may not have a great grasp on what they are talking about. Fortunately this article is about Alice and Bob, so I am inclined to take it seriously. [1] https://en.wikipedia.org/wiki/EPR_paradox https://en.wikipedia.org/wiki/EPR_paradox
- rdtsc 13y agoI don't understand, where is the beef? How is this qualitatively different than a plain old symmetric encryption. Bob and Alice (or whatever and for whatever reason renamed characters in their example) each have the key, Alice encrypts ( ⊕ ) sends to Bob, he decrypts. Is it the idea that the key cannot be digitally copied and instead it is two pieces of glass? How is it different than Alice and Bob using a one-time key for each transmission then destroying it (using secure wipe)? What if they use hand written papers to keep their keys and burn the pages when done. I am probably being dense missing some deeper idea. Anyone care to explain?
- btilly 13y agoThe point is physical security and information density. If you use an electronic one-time key and then secure wipe, you're not protected from someone who unbeknownst to you already read the contents of your hard drive. If you use handwritten papers then you cannot store large amounts of data, nor is your data transmission rate anything feasible. This allows an uncopyable object the size of a grain of sand to hold about a terabit of private shared data, and to process that at the speed that we can send/receive/react to light. (Considering that the basic technology is also used to send signals down fiber-optics cables, speed should be pretty good.)
- PeterisP 13y agoWell, in practice, public/private key encryption with large keys does achieve the same security, as does meeting in person (as required here) and simply exchanging a 100gb flash with a random OTP. What this method does is makes it harder to attack if the Bob's key/OTP is physically stolen. ALthough keys embedded on secure chip-cards cheaply and commonly available now are just as secure - the authors apparently claim that the keys can be read off the glass blocks in less than 24 hours; and extracting a long key off a chip-card (even if it's just pin-protected with permanent blocking for x mistakes) would be a bigger pain, you have to physicially scan the chip with extremely expensive gear for that. What this method doesn't do, is "make electronic copying impossible" or facilitate DRM, since Bob or anyone who compromises Bob's computers can freely copy and distribute the data right after the decryption.