If however the distress password gets entered, the script still runs, but the system unlocks into a virtual pc or another account which is not suspicious.
If however the distress password gets entered, the script still runs, but the system unlocks into a virtual pc or another account which is not suspicious.
The paranoid dystopian counterpart is that you cannot prove you don't have a second partition either. Might get awkward if someone decided to compel the second password on less solid evidence. If you're not actually using the feature.
- email, including recently received and sent emails
- web browser history
- system logs
- software updates
In practice, I think it’s impossible to do that. If the police discovers, for example, that your system logs show your machine was off for a week, but they also just saw you reset it, what do you tell them?
That you're not a computer expert and have no idea why your computer wasn't keeping logs correctly?
Level of kink up to you.
I had an idea once, would it be possible to set up two sets of passwords? One to properly unlock your device, and one to trigger either encryption or scrambling of the data when entered?
Plausible deniability lets you pretend you do not have incriminating data, but it's tricky to use in the first place: https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyA...
Travelling with an empty disk seems like a more appropriate option. Dm-verity could probably be used to check that there has been no tampering.
I think you could get a pixel phone to do this in a useful way.
Darknet Diaries has a cool episode about the dark cellphone industry: https://darknetdiaries.com/episode/105/
* https://en.wikipedia.org/wiki/Duress_code
The feature is more relevant in (full disk) encryption software than OSes.
You are probably thinking of the $5 wrench in https://xkcd.com/538/
It's based on the game theoretic idea that if your adversary has no way of knowing how many hidden partitions you have, then you have no way of proving to them that you've given them all your secrets.
As such, there is no benefit to you revealing any secrets under torture, because the torture would continue even after you've told them everything, therefore there is no point to them torturing you in the first place.
[0] https://en.wikipedia.org/wiki/Rubberhose_%28file_system%29
In reality they will torture you until you stop decrypting partitions, and then a bit more of special torture, just in case.
If you're in the business of protecting your secrets against torture then you need to also be protecting them against death because that is grimly inevitable.
If a torturer has good reason to believe you have valuable information regarding subject X, they'll simply torture you until they possess that information or you die. If you don't possess the information, you're screwed. If you do possess the information, it's likely that they'll stop after they get what they're after.
Hopefully civilization is not so far gone that police will imprison, torture or kill for failing to incriminate themselves. If it gets to the point cold-blooded torture is on the table, you'll probably get killed anyway.