logoalt Hacker News

rhdunn • yesterday at 12:29 PM • 2 replies • view on HN

As far as I can tell [1], [2] they are different. It's been known that P-256 isn't as safe for a while now -- at least since 2019 based on those links, and Chrome is moving to actively blocking P-256 certificates.

Chrome's recommendation is to use X25519 as part of a hybrid approach (X25519MLKEM768), so it is reasonable to assume that X25519 has not been broken yet/with the recent advances.

[1] https://github.com/pomerium/pomerium/issues/233

[2] https://safecurves.cr.yp.to/


Replies

CodesInChaos • yesterday at 2:06 PM

Not being a "safecurve" doesn't mean a curve is not safe. For example an insecure twist just means the implementation needs to check that a (compressed) public key is on the curve itself, not on its twist.

Other "safecurve" properties are about enabling certain constant time implementation techniques, but it's still possible to other curves in constant time. I think a few years after the safecurve website was published, a new implementation technique was found that makes it just as easy to efficiently implement prime order curves in constant time, but DJB never bothered to update the website.

In practice the only real advantage "safecurves" have is that there aren't old insecure implementations of them around, that might be used by mistake. Modern implementations of non "safecurves" are just as safe as modern implementations of "safecurves".

➕ show 1 reply
throw0101c • yesterday at 1:17 PM

> Chrome's recommendation is to use X25519 as part of a hybrid approach (X25519MLKEM768), so it is reasonable to assume that X25519 has not been broken yet/with the recent advances.

It is not (entirely) reasonable to assume that: X25519MLKEM768 may be 'fine' not because the X25519 part is (considered) safe, but because the ML-KEM-768 part is.

X25519MLKEM768 is even being 'accepted' by the NSA (after years of insisting people go PQC-only and skip hybrid approaches) because it's probably the most widely deployed system with a PQC component, so the thinking is that some PQC is better than no PQC.

➕ show 2 replies