I’m going to be traveling internationally in the next few days, and then more regularly in the coming months. I take a number of precautions to protect the data on my personal devices (device encryption, passwords, MFA, etc.) that, if triggered by a “commoner” during a search, would raise some inquiries at a minimum.With that being said, I was wondering if there was some (relatively) authoritative site that listed the accepted search behaviors and legal repercussions of compliance for a given country.For instance, I know the following may be true when entering into the USA:Citizens:Agents can ask to search a device, but I can refuse for a handful of reasons (data privacy, intellectual property, legal reasons, etc.)Agents (I think) are only allowed to search for data stored locally on the device and not anything stored in the cloud (so they can look through local photos, but not through a cloud photo service / app)Based on my responses, entry may be allowed, but a device may be temporarily confiscatedLegal assistance may be retainedDepending on profession and / or data on the device I may be able to justify my desire not to be searchedNon-Citizens:I may be turned away at the border and forced to return to my country of origin if I refuse a device searchI may be detained for further questioning if I refuse a device searchI may or may not be allowed to obtain legal representation within the USA for further assistanceI’ve only seen an assortment of news articles reporting on how the USA handles these types of searches, but haven’t necessarily seen how other countries manage these practices. I’d be greatly appreciative if anyone can point me in the right direction.