nelenkov/cryptfs-password-manager

Support initial encryption

Opened this issue · 1 comments

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!

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.