Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Idea] Nuke Password #20

Open
killathe opened this issue Dec 8, 2016 · 3 comments
Open

[Feature Idea] Nuke Password #20

killathe opened this issue Dec 8, 2016 · 3 comments

Comments

@killathe
Copy link

killathe commented Dec 8, 2016

The addition your App provides to the Cryptfs Password Manager is incredible. Your App is one of the first I install on a fresh Android, it's a must have, if you use encryption.
I recently thought about how this concept could be improved even more. Maybe you are familiar with the Kali Linux LUKS Nuke feature. https://www.kali.org/tutorials/emergency-self-destruction-luks-kali/
In short it lets you set a nuke-password which purges your keys. So if someone is forcing you to decrypt your storage you can safe your data by entering the nuke-password instead of the decrypt-password.
I'm not a developer but I think it might be possible on Android too. Cryptsetup also uses dm-crypt. But other than LUKS Androids encryption only allows one single key in its crypto footer. But it seems you need 2 keyslots, one for the real and one for the nuke key.
I don't know for shure, let me know what you think.

@licaon-kter
Copy link

That would need a Custom ROM I guess.

@0x5ECF4ULT
Copy link

@killathe this is a VERY cool suggestion but unfortunately @licaon-kter is right... It would need a custom ROM or a patch to the built-in cryptsetup utility. If you are a developer you can create a PR. Otherwise I would create a PR

@0x5ECF4ULT
Copy link

Update: It wouldn't need a custom ROM. The app could make a backup of the system partition and patch the binary afterwards.
There ARE official ways to patch the binary we are talking about, but I don't know how to accomplish this on Android... Research time! xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants