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

Store salt value inside the app instead of using deviceID #50

Merged
merged 11 commits into from
Aug 23, 2023

Conversation

udenr
Copy link
Contributor

@udenr udenr commented Aug 8, 2023

Instead of using the android deviceID when "bindToDevice" is enabled, this will now use an "installation salt". If this version is installed as an update the deviceID will be stored as the "installation salt". If it's a new installation a random salt will be generated. The salt is then included in backups created with the Privacy Friendly Backup app.

  • store deviceID as salt value on existing installations
  • generate random salt value on new installtions
  • salt value stored in encrypted preferences
  • salt value included in backup
  • Fix MainActivity not using the correct default value for number of iterations
  • Update some texts to reflect changes
    Closes Add a salt to password generation instead of device id #40

@udenr udenr changed the title Fix backup app integration Store salt value inside the app instead of using deviceID Aug 23, 2023
@udenr udenr merged commit 96dd1b0 into master Aug 23, 2023
@udenr udenr deleted the fix/backup-app-integration branch August 23, 2023 11:44
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

Successfully merging this pull request may close these issues.

Add a salt to password generation instead of device id
1 participant