electrum icon indicating copy to clipboard operation
electrum copied to clipboard

android: implement biometric authentication (fingerprint)

Open f321x opened this issue 1 month ago • 2 comments

Allows to unlock the android app with the android biometric api (e.g. fingerprint). Can be enabled in the settings. The initial version was LLM generated but i reviewed it and rewrote a couple things.

TODO: checkbox to enable it in the wizard during wallet setup once one password is enforced for creation of new wallets

closes https://github.com/spesmilo/electrum/issues/7560

f321x avatar Dec 02 '25 17:12 f321x

I assume this will be combined with #10339? (as handing over the wallet password to some biometric backend is a risk)

accumulator avatar Dec 04 '25 15:12 accumulator

@accumulator no, the PRs are independent. The password is encrypted with a secret retrieved from the secure element inside the new Java activity, we then store the encrypted password in our config file, so the wallet password is not stored anywhere outside of Electrum.

f321x avatar Dec 04 '25 15:12 f321x

this looks good to me, although I did not build an apk,

ecdsa avatar Dec 19 '25 10:12 ecdsa

running this apk for 2 weeks now, no issues so far

f321x avatar Dec 19 '25 10:12 f321x