返回资讯中心
外部精选
软件工程
#开发者实时流

P-256 椭圆曲线还在哪些场景中被使用

来源标题:Where else does P-256 live?

文章探讨 P-256 椭圆曲线除常见用途外还存在于哪些系统与协议中。原文未给出具体结论或数据,仅以提问方式列出调查方向。

Hacker News 最新tomwas542026/12/5 · 今天30 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

On December 3, Chrome announced that starting March 15, 2027 it plans to stop trusting website certificates that have a P-256 certificate authority (CA) key anywhere in their chain. That gives the web about fifteen weeks. The announcement came a day after the NSA told the people who run national security systems to speed up their move to post-quantum cryptography. Its advisory names P-384 and P-521 as acceptable in the meantime and leaves P-256 out.

I went looking for where else this curve is. Sixteen of the 19 roots that anchor caller ID in the U.S. use P-256. So do 21 of the 24 unexpired roots behind mobile driver’s licenses. And IANA plans to generate the DNS root’s first P-256 key on April 30, 2027, about six weeks after Chrome’s deadline, under a plan written before this week.

STIR/SHAKEN is how U.S. phone carriers sign caller ID, and the FCC requires it. The carrier that originates a call signs a token vouching for the number, and the carrier that delivers the call checks it.

P-256 is in three separate places here. The token on each call is signed with ES256, which the token standard makes the one algorithm everyone has to support. The carrier certificates behind those tokens could only hold P-256 keys until a revision approved in September 2025 added P-384. And the list of trusted CAs is itself signed with ES256.

On paper this looks a lot like the web. There’s a governance authority that sets policy, a policy administrator that publishes the list of trusted CAs, and the FCC behind both. So I pulled the list.1 The roots come from 14 organizations, and the P-256 roots all run to 2035 or later.

A P-384 certificate can’t sign an ES256 token, so the certificate change doesn’t help until every carrier’s signing and verification systems can handle a second token algorithm. If P-256 signatures can be forged before then, a spoofed call gets the verified mark.

Caller ID has someone who can set a date, just as the web does. On the web, the next automatic renewal can put the replacement certificate into use.

Chrome could set a date because the web has three things going for it. Each browser decides which CAs it trusts through what’s called a root program, so there is someone who can say March 15 and make it stick. Most certificates last 90 days, none issued today can last more than 200, and renewal is largely automatic, so the old keys clear out without anyone having to go find them. And every browser already accepts P-384 and RSA, so nothing on the other end has to change first. Take any one of those three things away and a migration slows down.

Yesterday I tried to quantify the scale of what is being done here and what that deadline means for the web. About one in four of the web’s certificates was issued under a CA with a P-256 key. Chrome puts it at about 25%, and Cloudflare Radar’s data alone came to 24%. Nearly all of those expire before the deadline, so most sites will get a replacement at their next automatic renewal and the owner won’t have to do anything.

My read is that Chrome focused on CA keys because of what they’re worth to an attacker, since one CA key can issue a certificate for any site. That tells me they think the attack is expensive. If it were cheap, I’d have expected something more draconian, like blocking P-256 in every certificate. The same test applies below. The more a single key signs for and the longer it lives, the more it’s worth attacking.

The same distinction comes up in other systems. A state’s driver’s license root and a caller ID root are CA keys that sign for everything under them and last for years, and a device maker’s boot key works the same way. The rest, like one person’s passkey or one site’s login tokens, are closer to the certificates Chrome left alone. Nobody has put a deadline on any of it. What all of it has is lead time measured in years, which is the reason to start now.

On December 3, NIST said it had assessed recent research results reported by Anthropic and that it remains confident in its post-quantum standards. It told organizations to “aggressively accelerate” their move to them, and it said a faster timeline for retiring the older algorithms is coming soon.

None of the three has said publicly what’s wrong with P-256, and NIST’s statement doesn’t name a curve at all. With that said, it’s clear Chrome is treating this as urgent. It announced the change in December, when most companies have stopped making changes for the holidays.

That leaves the rest of us with a strong signal and very little information behind it. Extrapolating from that is dangerous, and it’s the only option we’ve been left with. We don’t know what the attack is, what it costs, or whether it reaches other curves the size of P-256. I’m writing about P-256 because that’s the one Chrome named. Where I extrapolate below, I say so.

P-256 is one particular elliptic curve, and it’s behind a large share of the digital signatures in use today. A signature is how one computer proves to another that a login, a message, or a piece of software came from who it says it did. The signer has a private key it keeps secret and a public key it hands out, and anyone with the public key can check the signature.

An elliptic curve is the piece of math that ties those two keys together. It’s easy to get from the private key to the public key, and it’s supposed to be far too expensive to go back. The 256 is the size of the numbers on the curve, 256 bits, which is about 78 digits. P-384 and P-521 are the same idea with bigger numbers. RSA, the older family, rests on a different problem, factoring, and its keys are much bigger, 2,048 bits or more. Because the problems are different, trouble with a curve doesn’t have to mean trouble with RSA.

The web is the easy part, because P-256 is in a lot of places that have no browser to set a date for them, and because most organizations don’t know where they use cryptography. I wrote about that in Cryptography Should Be Boring.

It signs some login sessions, the caller ID on your phone, almost all mobile driver’s licenses, passkeys, employee badges, and the firmware on small devices. I’m going to walk through those six because I’ve either counted them or worked on them. The full list is a lot longer. It takes in DNSSEC, some SSH and code signing keys, Bluetooth pairing, the private CAs companies run for VPNs and network isolation, and newer industrial control systems. Most of these can’t change in fifteen weeks, and some can’t change at all.

Some of that list is still moving toward P-256. The DNS root is signed with an RSA key today. Under a proposal ICANN published in February, its next key will be ECDSA on P-256, and IANA’s ceremony schedule has that key being generated on April 30, 2027, about six weeks after Chrome’s deadline. The RSA key would be retired in 2029. That plan was written before this week, and of course we can expect to see it change.

the DNS root moves from RSA to P-256

April 30, 2027 IANA plans to generate a P-256 root key

2029 RSA root key retired under the plan Dates from Chrome’s announcement, IANA’s ceremony schedule, and ICANN’s February 2026 proposal.

Staying on RSA 2048 isn’t a way out for long either. Goodkey’s Keylength reference puts it at about 112 bits of strength, below the 128-bit minimum NIST has scheduled for 2031. NIST said this week that a more aggressive timeline is coming. My read is that RSA 2048 could be retired sooner than that.

When you log in to a site, it usually hands your browser a signed token, often a JSON Web Token, and your browser sends it back with every request. Most of these tokens, including most of the ones issued through OpenID Connect, are signed with RSA. Some are signed with ES256, and ES256 is P-256. If someone can forge that signature, they can forge a login.

This is the easiest case on the list because the site owns its signing key and can replace it in a day. What it doesn’t own is every service that checks the token. Each of those has a list of algorithms it accepts, and that list has to change before the key does. I wrote last year that real agility takes coordination across clients and servers you often don’t own, and you can see it here at small scale.

A mobile driver’s license is signed by the state that issued it, and each state runs its own root, the key at the top that every license it issues is checked against. At Peculiar Ventures we track those roots in a dashboard built from the trust list published by AAMVA, the association of motor vehicle agencies, and from what the states publish themselves. In the latest snapshot, 21 of the 24 unexpired roots use P-256. Alaska and Kentucky chose P-384, and so did Utah for the newest of its three.

The standards didn’t force that choice. ISO 18013-5, the international standard for these licenses, permits P-384 and AAMVA’s guidelines for North America keep it. The states that picked P-256 made the same trade I made when I started Google Trust Services, the CA behind Google’s certificates. P-256 was smaller and faster, and the threat we were all planning for was a quantum computer, which was expected to break P-256 and P-384 at about the same time.

I’ve written before that what makes these licenses worth having is that the attestations in them can’t be forged. In almost all of the states that issue them, that now depends on P-256. A state root is a CA key, the same kind Chrome decided couldn’t wait.

Here the alternative exists and the other two things don’t. These roots were built to last. Most were issued for five to ten years, and Illinois’s runs to 2044. A state can stage a new root alongside the old one. Retiring the old one is the hard part, because every reader in the field has to pick up the new trust list and every license still chained to the old root has to be reissued. There are 19 jurisdictions in the dashboard, and each one decides for itself when to do that.

PIV is the smart card standard behind U.S. government employee badges, and plenty of companies use it too. The current specification allows RSA, P-256, and P-384. On the elliptic curve cards I’ve worked with I’ve only ever seen P-256, which makes sense when you remember that a smart card is a slow computer with very little memory.

The agency or employer that issues the cards can set a date, but the keys don’t replace themselves. Changing the algorithm means new certificates at the least, and for an older card it means a new card, and cards get reissued on a cycle measured in years. In a regulated environment there’s another wait on top of that, which I covered in when regulated systems can make the move. You need a validated product that supports what you’re moving to. If P-256 signatures can be forged before all of that happens, an attacker logs in as the employee.

A passkey is a key pair your phone, laptop, or security key creates for one website. The site says which algorithms it will accept and the device picks one. If the site doesn’t say, the WebAuthn standard has the browser offer two, ES256 and RS256.

Most passkeys end up as ES256. Some security keys can do better, and YubiKeys on firmware 5.6 and later support P-384. That only helps if the website offers it at registration and can verify it at sign-in, and most ask for ES256 and RS256 and nothing else. The limit is on the website’s side, in a short list of algorithms somebody configured years ago.

Passkeys are missing all three things. There’s no root program, so each website would have to add an algorithm on its own and then get its users to register again, one at a time. If P-256 signatures can be forged before they do, an attacker signs in as you without your phone or your key.

Hardware security keys make it harder still. The firmware on most of them can’t be updated, and that’s deliberate, because a key that accepts new firmware is a key an attacker can reprogram. When researchers found a side-channel flaw in YubiKey 5 firmware in 2024, the fix shipped only in new k

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →