It seems that the vdc command is not very well documented.
FP2:/ # vdc cryptfs verifypw asdf
200 16036 1
If I try to check an existing password, I can enter any one, it always returns 200.
And without knowing it, it’s pretty risky to change a password like that.
FP2:/ # vdc cryptfs changepw password newpassword
The password change must be verifiable before restarting.
I am grateful for links to documentation or source code. I am also happy about feedback and experience.
That’s why I asked: strong passphrase to start the phone; simpler PIN to unlock for daily use. I know the SnoopSnitch app, but I don’t really trust it as it’s older.
Did you have any input already about using these commands on the Fairphone? Actually, I have tried to use them, but on my FPOS 18.10.0 doesn’t seem to have that implemented. It always responds: /system/bin/sh: vdc: not found
Thanks for the tutorial. It works here on Fairphone Open 18.10.0.
One suggestion to improve the instructions:
It would be good to mention that this is done via an USB connection to the phone using the adb command on the PC. I’ve first tried it with a terminal app on the Fairphone itself. This did not work because the vdc command was not found (see above).