Skip to content

Migrate deprecated EncryptedSharedPreferences to Tink backed store#508

Open
0xh3rman wants to merge 2 commits into
mainfrom
migrate-encrypted-share-prefs
Open

Migrate deprecated EncryptedSharedPreferences to Tink backed store#508
0xh3rman wants to merge 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
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