[Request for input] Encrypt all the things
-
I want to start a discussion about encrypting more data stored in the
/userdatapartition, for extra security/paranoia.Right now we have
/home/phabletencrypted when done so via system-settings, but there's room for improvement. I would like to also encrypt:- Wifi settings
- Apps
- Potentially more which I don't see yet
For apps I have created a script which does the encryption in an easy-to-follow manner. This will require a device with policy version 2 support. It's available here: https://gist.github.com/fredldotme/696ab1e22bec4ed296caee471aa89a87
ATTENTION: Don't try to force the script to run on a system which only supports v1 policies, this will break app installation and uninstallation.
The script keeps the unencrypted original in
/userdata/system-data/opt/click.ubuntu.com-bakwhich you will have to remove manually after rebooting.Encrypting data which is usually accessed by non-phablet users will require v2 policy suppport, so keep that in mind when coming up with ideas.
Any input?
-
@fredldotme Encrypting WiFi settings (
/etc/NetworkManager/system-connections) is a must-have, as they contain passwords. But what is the reason to encrypt apps' installation? The executables and assets are public anyway, I don't know any app that stores sensitive data in/opt.