News for hackers. Stuff that matters.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by phas0ruk on Monday June 19, 2023 @02:44AM (#36388032)
Doesn’t this mean crypto has a major problem ?
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by NavinF on Monday June 19, 2023 @03:15AM (#36388206)
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by was_a_dev on Monday June 19, 2023 @02:47AM (#36388048)
In the realm of quantum computing, it always has
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by aleph_minus_one on Monday June 19, 2023 @03:40AM (#36388360)
> In the realm of quantum computing, it always has

No: https://en.wikipedia.org/wiki/Post-quantum_cryptography

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by adastra22 on Monday June 19, 2023 @05:01AM (#36388842)
PQC is very immature.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by red_admiral on Monday June 19, 2023 @05:18AM (#36388973)
Generally true, but Google has started using the stuff in production: https://cloud.google.com/blog/products/identity-security/why...
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by bawolff on Monday June 19, 2023 @05:27AM (#36389030)
But its still bleeding edge. Its been used for experimental purposes but always in combination with a traditional algorithm (so if its broken the traditional algo still secures things). Its definitely not trusted yet.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by survirtual on Monday June 19, 2023 @01:10PM (#36393627)
Yes, which is what google is doing if you read the blog post. They wrap PQC encrypted message with x25519.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by Aachen on Monday June 19, 2023 @05:38AM (#36389093)
I agree with you that the statement is overly broad, but the person is referring to asymmetric cryptography in the past tense, making me read it as not about PQC because PQC is indeed the fix for the stated problem but must be applied first and until then, indeed we've always known QC are going to be an issue that needs solving.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by was_a_dev on Monday June 19, 2023 @04:19PM (#36395993)
Thank you, I did

However I was also unaware of PQC, which has been an interesting rabbit hole for the day

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by some_furry on Monday June 19, 2023 @03:03AM (#36388130)
Subtext: This is about quantum computers, which have been known to break RSA and ECC for the order of 30-ish years now.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by adastra22 on Monday June 19, 2023 @05:01AM (#36388850)
*known to be able to

No quantum computer has ever been used for that purpose in real life, however.

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by bawolff on Monday June 19, 2023 @05:18AM (#36388972)
Kind of goes without saying when nobody has built a quantum computer of the type we are talking about. No general purpose error corrected quantum computer has been used to do anything because they don't exist yet.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by Aachen on Monday June 19, 2023 @05:41AM (#36389111)
I don't think that's common knowledge. It's commonly accepted truth in the industry, but particularly when most people think of military/spies as secretly X years ahead (pick a number) of what the public knows is possible, the tech sector in general can't be expected to know this. It's good to add this in a thread with a headline that sounds like anyone using ecc keys might have a big problem.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by flangola7 on Monday June 19, 2023 @07:43AM (#36389884)
>No general purpose error corrected quantum computer has been used to do anything because they don't exist yet.

It isn't cryptographically relevant yet, but quantum supremacy was achieved in 2020: https://arxiv.org/abs/2012.01625

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by less_less on Monday June 19, 2023 @08:18AM (#36390198)
I don't think that machine was either general-purpose or error-corrected though. IIUC we can build at most a few error-corrected gates right now.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by SAI_Peregrinus on Monday June 19, 2023 @09:58AM (#36391160)
That particular demonstration is interesting, but it's not a general-purpose error-corrected quantum computer. It's a single-purpose quantum computer that simulates a quantum process with fewer gate operations than a classical computer needs to simulate the same process.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by adastra22 on Monday June 19, 2023 @11:46AM (#36392418)
FYI there is no such thing as a general purpose quantum computer. All quantum computes are special purpose.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by sudosysgen on Monday June 19, 2023 @01:44PM (#36394223)
That's not true. There is such a thing as a completely general set of quantum gates, which combined with qubit memory, would make for a general quantum computer capable of computing any unitary transformation to a certain accuracy.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by adastra22 on Monday June 19, 2023 @02:46PM (#36395031)
Not fully general, no. There is no such thing like a "Turning machine" for quantum computers. There are classes of algorithms like Shor's, Grover's, and quantum annealing which can be used to solve large many instances of related problems.

This is kinda like how matrix diagonalization can be used to solve any problem which is expressible as a linear system of equations, and to some degree any continuous function can be approximated by a linear system, so a BLAS + LAPACK accelerator is a "universal simulation engine."

You could probably build a generic Shor's algorithm quantum computer that is able to both factor integers and break elliptic curve keys. But the same quantum computer wouldn't be usable for Grover's algorithm to find the presage of a cryptographic hash. This is what I mean by there not being a "universal quantum computer" in the same way a Turing machine is a universal classical computer. Quantum computers by their very nature are ASIC implementations of specific algorithms, even though those algorithms might have some multi-domain applicability.

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by sudosysgen on Monday June 19, 2023 @02:59PM (#36395181)
That really isn't true. If you have the CNOT gate, controlled rotation and phase shift, you can implement any operation on a set of qbits. If you then have quantum registers, you have a truly universal quantum computer, as you can then use registers to chain operation arbitrarily.

This computer would be able to do Shor, Grover, QAOA, as well as any classical algorithm of course. If you're interested, I can try to describe the proof of universality, it's just a bit of linear algebra. Otherwise, you can look up "Solovay-Kitaev theorem".

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by adastra22 on Wednesday June 21, 2023 @12:53PM (#36421073)
I’m still trying to wrap my head around this. Do you have a link to help explain how this would work?

I happen to be working on a commercial product for which manufacturing quantum computers is a real use case, so I should understand this.

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by heavenlyblue on Monday June 19, 2023 @05:43AM (#36389119)
You mean "theoretically known"
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by bawolff on Monday June 19, 2023 @05:25AM (#36389019)
So its mostly just public-key encryption and its been a known issue since about 1994. We are still nowhere near making quantum computers that can crack them so its not an urgent thing. There has been a lot of research into alterantives though.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by wahahah on Monday June 19, 2023 @06:07AM (#36389291)
Being able to crack present-day communications in the future is still a concern.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by its-summertime on Monday June 19, 2023 @07:25AM (#36389771)
Hence https://en.wikipedia.org/wiki/Forward_secrecy to make things more difficult

Compromising the main keys isn't enough, need to compromise each session key as well in turn, a massive increase.

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by upofadown on Monday June 19, 2023 @08:40AM (#36390397)
Forward secrecy does not provide any value against cryptography compromise. Quite the opposite as it depends on the security of the cryptography over the long term to insure old messages stay inaccessible.

The session keys are exchanged by the asymmetrical systems that the imagined quantum computer would be able to break. So the attacker gets the session keys directly.

Re:How to compute a 256 bit elliptic curve key with 50M Toff... by bawolff on Monday June 19, 2023 @04:58PM (#36396366)
I mean, it depends a little bit on what your threat model is. If it takes a week to break a key, and you have hundreds of thousands of tls sessions without knowing which is the relavent one, it is definitely something. But yeah it seems like it would quickly become a minor hurdle once real quantum computers become a thing and presumably have their own moore's law.
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by lyu07282 on Monday June 19, 2023 @09:12AM (#36390674)
I'd imagine that's exactly why the NSA hoards the (rumored) absurd amount of data in the Utah data center
Re:How to compute a 256 bit elliptic curve key with 50M Toff... by survirtual on Monday June 19, 2023 @01:15PM (#36393711)
Encrypted comms has a problem.

Crypto does not, for a lot of reasons, but biggest I can think of is that hashing is still one-way, public keys are hidden (until used, which is why it is important to expose your public key only when using funds).

When there is a viable ECC attack vector, it will not be much effort to migrate to a more mature PQC. Better to wait as long as possible, maybe even have a crypto built on PQC to field test it with money on the line -- a few billion in market cap goes a long way to incentivizing breaking the crypto involved.