The whole point is that sort of thing shouldn't be necessary. The government shouldn't have the authority to demand you hand over the contents of your phone/laptop without reasonable suspicion in the first place.
What I'm saying is: Can X be done until sanity has been restored to Y? It appears that, yes, it can.