It's a battle of Goliath against Goliath - the world's most powerful company vs the world's most powerful Government. It's a clash over matters of fundamental principle, which could have enormous consequences. And it all boils down to a few simple digits on an iPhone.
In December last year, Syed Rizwan Farook and Tashfeen Malik, a married couple from San Bernadino, went on a shooting spree that left 14 people dead.
To find out more about how he became radicalised, and whom he was in contact with, the FBI would like to get into Farook's iPhone. The problem is that he was killed in a shootout with police, taking the password with him.
To crack the phone open, the FBI can't simply type in random numbers: that would not only take too long, but might wipe the phone clean. So they want Apple to create and install a special version of the phone's operating software which will enable them to make as many guesses as they like, as quickly as they like.
The FBI promises this software would be used just this once. Apple claims that the same code, once written, could be used to crack open any other iPhone, or at least to give people who want to do so a good head start. Apple CEO Tim Cook has now published an extraordinary open letter outlining why he is refusing to allow the code to be created, despite a judicial order.