> refusing to divulge the 20 characters password isn't really an option
> wipe your phone and restore from backup
If they can compel you to divulge the password, then they can compel you to restore from backup in front of them.
> wipe your phone and restore from backup
If they can compel you to divulge the password, then they can compel you to restore from backup in front of them.
Of course, if your backup is to a US-based cloud service, they already have full access to it.
if they're really out to target you and they've got you under investigation, then maybe they know what your primary email account is and that your phone isn't signed in to it. but the advice here is for the traveller who just doesn't want to be hassled at the border by the guard who wants to flex their power.