Skip to content

Migrate deprecated EncryptedSharedPreferences to Tink backed store#508

Merged
0xh3rman merged 2 commits into
mainfrom
migrate-encrypted-share-prefs
Jun 17, 2026
Merged

Migrate deprecated EncryptedSharedPreferences to Tink backed store#508
0xh3rman merged 2 commits into
mainfrom
migrate-encrypted-share-prefs

Conversation

@0xh3rman

Copy link
Copy Markdown
Collaborator

Summary

  • Replace deprecated secure prefs with a shared Tink-backed store and lazy migration.
  • Cover password/Gem migrations and AAD failure with tests.

Fixes #204

Checks

  • ./gradlew :app:assembleGoogleDebug
  • ./gradlew :app:testGoogleDebugUnitTest --tests com.gemwallet.android.data.password.TinkPasswordStoreTest
  • ./gradlew :app:connectedGoogleDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=com.gemwallet.android.data.password.TinkEncryptedKeyValueStoreInstrumentedTest

@0xh3rman 0xh3rman changed the title [codex] Migrate secure prefs to Tink Migrate deprecated EncryptedSharedPreferences to Tink backed store Jun 15, 2026
@0xh3rman 0xh3rman requested a review from DRadmir June 15, 2026 13:32
@0xh3rman 0xh3rman marked this pull request as ready for review June 15, 2026 13:32
@0xh3rman 0xh3rman self-assigned this Jun 15, 2026
@0xh3rman 0xh3rman force-pushed the migrate-encrypted-share-prefs branch from c3810c4 to 6a3ce25 Compare June 16, 2026 22:53
@0xh3rman 0xh3rman merged commit eaf09d5 into main Jun 17, 2026
2 checks passed
@0xh3rman 0xh3rman deleted the migrate-encrypted-share-prefs branch June 17, 2026 02:06
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.

Migrate to new security store based on tink

2 participants