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

Support initial encryption #3

Open
patcon opened this issue Nov 22, 2014 · 1 comment
Open

Support initial encryption #3

patcon opened this issue Nov 22, 2014 · 1 comment

Comments

@patcon
Copy link

patcon commented Nov 22, 2014

It seems that the app currently only allows for changing the password on an encrypted device. Would it be possible to allow for the first encryption? I was hoping to integrate this app into a setup wizard on a secure version of cyanogenmod, and it would be nice to get this out of the way without requiring some two-step process after the first reboot (ie. the one after using the default PIN encryption method)

Also, I'm willing to work on this myself, but would like to ensure you're still accepting pull requests and willing to release to fdroid. Thanks!

@nelenkov
Copy link
Owner

If started the command vdc cryptfs enablecrypto inplace <password> you could initiate encryption with any password you chose. However, many vendor customize this process, and the timing the actual encryption starts is different, so there are too many ways to fail or damage data.

Keep in mind that this app is just a simple wrapper around two cryptfs commands. If you wanted to do this in a custom ROM, you would use the system APIs, not resort to hacks. Also, CyanogenMod already supports separate passwords in CM11. There is not secure setup wizard though.

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

2 participants