> Compelled speech, and compelled work, are both disallowed by the US constitution... Apple successfully used this argument several years ago when the FBI tried to demand that they break a phone for an investigation.
I'm not sure this is how the San Bernardino case actually panned out:
"Apple declined to create the software, and a hearing was scheduled for March 22. However, a day before the hearing was supposed to happen, the government obtained a delay, saying it had found a third party able to assist in unlocking the iPhone. On March 28, the government claimed that the FBI had unlocked the iPhone and withdrew its request."
The arguments were never actually tested in court, the whole thing was quietly put away once the FBI found another way to unlock the phone.
The expectation was that FBI would lose in court. But that was not guaranteed, certainly.
FBI had multiple reasons to abandon the effort, but one was that if legal precedent was established at that time, for that case, it would be harder to bypass in future cases.
I expected the FBI to win in court because the FBI had precedent on its side. The judge had asked Apple to provide reasonable technical assistance to access data on the phone, and modifying one line of code fits well within the judge's request.
Apple successfully used this argument several years ago when the FBI tried to demand that they break a phone for an investigation.
If there is more recent news or legislation, perhaps I'm not remembering it?