Android security implementation Phase 1 finalization part 1

This commit is contained in:
2026-11-03 22:39:32 +02:00
parent 9b0009faef
commit 3ada3c2ce8
15 changed files with 189 additions and 34 deletions
@@ -0,0 +1,8 @@
package studio.daybreak.mail
internal object AndroidVaultKeyPolicy {
fun shouldCreateKey(hasEncryptedData: Boolean): Boolean = !hasEncryptedData
const val MISSING_KEY_MESSAGE =
"The Android Keystore key for saved app data is missing. Existing encrypted data was not reset or replaced."
}