Earlier quoted context omitted.
> Of all the issues with the US justice system, being compelled to disclose passwords isn't one of them. This is not totally true. It is also a US issue: CBP has been asking for passwords (or to unlock the device) for phones and computers for more than a year now. Last year, multiple people got turned around because they disagreed with US policies and political views that differ from those of the US's current preside…
You don't have the protections of U.S. law at the border. CBP is also asking , not compelling. You don't have to give them your password. If you don't, and you're a foreigner, you may be turned away. If you're a citizen, and I remember correctly, they can seize your device for up to two days if they want. But they're not going to put you in prison for refusing like the U.K. and Hong Kong will.
And also actually per law. And yes, being forced to give out passwords and make profiles public as a rputine thing is much worst then being forced to give out password when there is actual warrant.