Discrete Logarithm Problem Partly Solved -- Time To Drop Some Crypto Methods?
An anonymous reader points out this Science Daily report:
"Researchers ... have solved one aspect of the discrete logarithm problem. This is considered to be one of the 'holy grails' of algorithmic number theory, on which the security of many cryptographic systems used today is based. They have devised a new algorithm that calls into question the security of one variant of this problem, which has been closely studied since 1976. The result ... discredits several cryptographic systems that until now were assumed to provide sufficient security safeguards. Although this work is still theoretical, it is likely to have repercussions especially on the cryptographic applications of smart cards, RFID chips , etc."
I really really skimmed the article, but I think it all boils to this one algorithm. If Diffie Hellman is at risk, then all of our "perfect forward security" reliance of SSL is gone.
Shachar
However, someone intercepted the message, cracked slashdot's https rsa key, modified this message, then submitted it on my behalf.
All your Logs are belong to us.
If this is just being publicly announced now, it was probably known to NSA, the GRU, and the MSS years ago. The superpower security agencies put substantial resources into cryptanalytic number theory.
Early public key cryptosystems used the knapsack problem. That turned out to have reasonably easy solutions. Factoring products of two big primes may be all we have left. That's believed to be hard, but there's no proof of a lower bound on it.
This is slashdot. We get cut and paste third rate analysis in the summary? No description of which cryptographic systems?
TFA links to the published version on SpringerLink, which is paywalled. A free preprint is available on the arXiv.
Reading the paper, the most notable feature is that their algorithm is efficiency for constant characteristic, including the common case of fields of characteristic 2. It's also okay for the characteristic to grow somewhat with the size of the field, but not very fast.
This is not at all relevant to most implementations of DH, which use prime fields of large characteristic. For example, DSA depends on discrete log modulu a large prime p. In particular, I wouldn't worry about forward secrecy of current internet traffic.
The new algorithm is for small characteristics. Small characteristics have been suspect for some time and are no longer used. In fact: cryptographers are moving away from finite fields altogether in favor of elliptic curves, now that most of the relevant patents in that subject have either expired or been rendered toothlesss. No subexponential algorithm is known for the Discrete Logarithm Problem over elliptic curves.
As I understand it, they've simplified the problem to a compiexity of O(n^log(n))... this is still non-polynomial time... but the rate of complexity growth is effectively polynomial. If I understand correctly, that means that the additional security that was formerly thought to be obtained by merely doubling cryptographic key length must now be obtained by squaring it.
File under 'M' for 'Manic ranting'
I've basically only read the abstract and first section of the actual paper, but it looks like this is only demonstrating a weakness in the discrete log problem on finite fields. Specificaly fields of small characteristic. If you were using a large prime field, I suspect this isn't much of an issue. I'm also guessing this doesn't affect general elliptic curves. I'll be scared if they find a powerful algorithm to attack the general discrete log problem for groups.
I'm also wondering if this result will lead to a more efficient algorithm for factoring large integers. It has been my understanding these problems are related, unless it's more like discrete log on prime fields is related to integer factorization. But again, I haven't read the entire paper yet.
The result is on for fields with small characteristic, but the most commonly used finite fields in this context are the Zp for some prime p which have characteristic p.
So though this is a very interesting result, I am not tossing out all my crypto suit yet.
we should be cautiously seeking better alternatives, but the worst thing we can do is to panic and ditch well studied algorithms and implementations every time some progress is made on their cryptanalysis.
SmartCards actually mostly rely on symmetric algorithms for most applications. The only commonly used public key algorithm is RSA, which is not based on discrete logarithm. This leaves DSA, among the relatively common algorithms, but that is rarely used on SmartCards. What would be interesting to know, is how EC-DSA is affected, since it is slowly replacing RSA because of the reduced key size.
Even though I didn't really understood the math, two important points stick out from their description:
As far as I understood they empirically showed their approach to work on one example. A study showing the general feasibility of the heuristics would be more convincing (yeah, that's the engineer speaking not the mathematician).
It should also be noted that the authors themselves write in their conclusion:
"Compared to existing approaches, and in particular to the line of recent works [15,10], the practical relevance of our algorithm is not clear, and will be explored by further work."
So, before running to conclusions maybe we should wait for the "further work".
Apparently, these findings were already being discussed in UCI Cryptography Seminars back in spring 2013.
Great hacker flick if nothing else : While the number-field sieve is the best method currently known... ...there exists an intriguing possibility for a far more elegant approach. ...over the rationals, and hence contained in a single cyclotomic field.
Using the Artin map, we might induce homomorphisms...
It would be a breakthrough of Gaussian proportions... ...and allow us to acquire... ...the solution in a dramatically more efficient manner.
Such an approach is purely theoretical. So far, no one has been able... ...to accomplish such constructions... ...yet.
The numbers are so unbelievably big... ...all the computers in the world could not break them down.
But maybe, just maybe... ...there's a shortcut.
Numbers themselves may be our best tools... ...may be able to see things in other numbers that we can't.
Comment removed based on user account deletion
It occurs to me that all the discussions seem to assume that something is encrypted only once. What happens if you take your document and encrypt it multiple times, using multiple techniques. Only the recipient knows the sequence and how many times each is run. I would think this would make it nigh onto impossible to decrypt. What am I missing?
I'm a cryptographer and the paper didn't even catch my eye when I was glancing this year's Eurocrypt papers. I also haven't heard anyone talk about it at work and this is despite all my coworkers working on crypto which would break if someone came up with a fast dlog algorithm in groups used in practice. The algorithm is purely for fields of small characteristic, which means that it's totally irrelevant for most practical applications, since typically one will work over subgroup of invertible elements for the finite field F_p, where the characteristic p is of the order of the security parameter (meaning it's huge).
To me this looks like hype stemming from a popularizing science paper misunderstanding something (or misunderstanding it on purpose).
I can't read the article behind Springer's paywall past the first couple of pages, but it appears to be the published version of this 2013 preprint which, if I'm not mistaken, was already slashdotted last year.
There would seem to be basically no chance of making this strategy work over the finite field with p elements, which is what it would take to break Diffie-Hellman and DSA as currently implemented; such fields are never going to have sparse medium subfield representations beause they don't have, you know, any subfields.
It's true that similar sieving strategies often apply to factoring as to the DLP - but again, the analogy is to prime field DLPs, so there' s no way that this is going to help break RSA directly. so I don't see any reason for the FUD. We're still a couple of major research ideas away from that.
As somebody else pointed out, either you or the person you were talking to was thinking of Merkle-Hellman, not Diffie-Hellman.
NP-hard problems are attractive, because they take polynomial time to verify if you know the right piece of data (i.e. the key) and exponentialish time if you don't. But it turns out that there are a lot of them that either can't be usefully turned into an encryption algorithm, or usually aren't more than polynomially hard if you do, because the version of the problem that got you public-key encryption is either some subset problem that isn't exponentially hard, or is only hard sometimes but not always, or else because turning the problem from a decision system into an encryption system took you exponential amounts of work (i.e. wasn't useful.)
So far Discrete Logarithm (over various groups, including modulo-prime arithmetic and elliptic curves) and factoring have been the most useful problems, giving us Diffie-Hellman and RSA and a few signature systems.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
I've always been baffled by the apparent overconfidence in this field. Why in the world would any system only use one encryption method in the first place? No encryption algorithm has been proved secure yet, so the obvious answer in the face of such uncertainty is to pick the several most likely best algorithms and chain them together. "Weakest link in the chain" is not a valid metaphor for this situation. Cracking one of the encryption algorithms does nothing to break the total.
The only reason I can think of is speed, and of course that is a legit reason. But I think I can live with some extra latency when accessing my bank if it means not having my account stolen.
Even if this problem is actually solved, the cryptographic methods using it were sufficient "until now" if this is actually the first party solving it. Saying that they were presumed sufficient until now misses the point of cryptography. It's never impossible to recover the plaintext. The whole point is to make it take unfeasibly long with current methods except for those with the proper key. If a new method comes along to break a scheme, that means the scheme is no longer sufficient going forward. It doesn't mean it was insufficient in the past.