element-x-ada/features/wallet/impl
Kayos 9e9192dd3b Fix wallet keystore auth: remove biometric requirement from mnemonic key
The mnemonic encryption key should be device-protected (unlocked when device
is unlocked), not require biometric/PIN at time of use. This was breaking:
- Wallet creation on devices without biometrics
- Emulator testing entirely

Changes:
- Remove setUserAuthenticationRequired(true) from keystore key spec
- Remove setUserAuthenticationValidityDurationSeconds()
- Remove setInvalidatedByBiometricEnrollment()
- Remove emulator detection hacks (isEmulator, canUseBiometricAuth)
- Remove unused Build and BiometricManager imports
- Add documentation explaining security model

Security model:
- Mnemonic encrypted with AES-256-GCM using Android Keystore key
- Key is device-bound (cannot be extracted)
- Key is accessible when device is unlocked
- Transaction signing should use BiometricPrompt separately (future enhancement)
2026-03-28 12:49:39 -07:00
..
src Fix wallet keystore auth: remove biometric requirement from mnemonic key 2026-03-28 12:49:39 -07:00
build.gradle.kts Phase 3: Wallet panel UI and full /pay flow wiring 2026-03-28 09:23:58 -07:00
proguard-rules.pro feat(wallet): scaffold wallet module structure 2026-03-27 10:04:58 -07:00