AndroidAPS
AndroidAPS copied to clipboard
It's possible to export settings with locked preferences
Would it be safe to:
- allow export but not include the settings_password key so that it isn't so easy to recover the password
- disable import without a passcode
That would I think prevent it easily being removed while at the same time allowing someone to still backup the settings. Otherwise we could end up in a situation where a user with a passcode can't easily backup their objectives.
Removing the settings_password from the export file also prevent the 'parent' from accidentally leaving a file on the device with the passcode in it if they did do an export.
Passwords (including settings_password) are never stored in plain text.
The way the password is stored (HMAC) make it difficult to being recovered from exported preferences. Moreover - whole exported file is already encrypted, so first - attacker would need to brute-force master password in order to read raw preferences there, where he will find only hash of password!