The Beautiful Side of Breaking RSA

I'm going to take a moment to be a contrarian. There's talk of impending doom around RSA again. This time it's a rumor that one of the frontier AI labs has cracked 2048-bit RSA. For the sake of argument, suppose somebody really can take an ordinary RSA-2048 public key and recover the private key in time to do something useful with it. I don't doubt for a second that shit will hit the fan.

Spain's electronic national identity card (DNIe) has used 2048-bit RSA keys for authentication and for signing documents. Here in the US, it's one of the options for the Personal Identity Verification (PIV) cards issued to federal employees and contractors. Reissuing the affected cards would be a hell of a job. Then there's the person who gets handed two versions of a contract, both bearing a digital signature that checks out under their public key. They remember signing one of them. Good luck to whoever gets to explain that one in court. DNIe key specifications ยท NIST's PIV key specifications

Don't get me wrong. I think humanity is about to learn a few things about toying with Promethean fire. For now, though, let's enjoy the light.

I'd like to shine a little of it on the enshittification of the things we own. Think of all the discarded machines that still work. Video games locked inside distribution vaults. Imagine being the archivist with a copy of a game on disc and a working console, trying to explain to the kid standing next to you why the two of you can't play the damn thing. We've gotten awfully comfortable calling something a purchase when the manufacturer still gets to decide how long the lease runs.

There's some hope in the prior art. Texas Instruments used 512-bit RSA signatures to restrict which operating systems its graphing calculators would accept. In July 2009, Benjamin Moody factored the RSA modulus for the TI-83 Plus operating-system signing key. Other hobbyists pooled their efforts on more models. An owner who had gone to the trouble of writing an operating system could finally load it through the calculator's ordinary update mechanism. Schneier's account from 2009

My favorite detail here is that TI gave away its own operating system. You could go to their website and download the thing. What the calculator owners wanted was to write and execute their own software on hardware they'd purchased. TI responded by sending DMCA threats to people who wrote about the work. Imagine writing an operating system for a graphing calculator for fun, then finding out some poor bastard needs a lawyer just to blog about it. EFF's account of the dispute

Now think of all the test equipment Marco Reps might be able to fix. This is a guy who made a speedrun out of repairing six 3458A multimeters. Old oscilloscopes, spectrum analyzers, calibrators... think how much engineering went into just the front end of some of those instruments. I'd happily keep the analog engineers' work and replace the software that hangs on the splash screen. Somebody still has to figure out which register sets the input range and where the factory stashed the calibration constants. That's the sort of hard-earned knowledge you can put in a driver so the next person who opens one of these things up has somewhere to start.

Or consider a perfectly good rackmount switch the vendor has declared "out of support." The ports still come up. The switching ASIC still moves packets. The last firmware image the vendor signed has a bug, and everybody agrees it's a bad idea to put that version back on the network. Fair enough. But if somebody is willing to maintain the software, why does the company that just told me it's done maintaining it still get the deciding vote?

There's a fair distance between a frontier lab doing this once and some nerd being able to do it for a switch they picked up at a hamfest. Of course, the vendor could save us all the wait and let me enroll my own public key while I have the machine on the bench. I'd take that deal today.

So I'll take a cue from Scott Aaronson drinking wine in his kitchen and raise a glass to whoever gets another twenty years out of an oscilloscope somebody put on the scrap heap. I'd like their signature on the calibration report to mean something, too.