HW-Backed-Bitcoin-Wallet / bitcoin-wallet

Bitcoin Wallet app for your Android device. Standalone Bitcoin node, no centralized backend required.
0 stars 1 forks source link

Proposal for HWKeyCrypter and Biometric Authentication #18

Open oliveraemmer opened 4 months ago

oliveraemmer commented 4 months ago

Currently the keys in the wallet can be encrypted using a spending pin. With this PR we propose a new encryption type which leverages the Android KeyStore and Biometric Authentication to encrypt the keys. It is not a replacement of the spending pin but an addition.

image

This change requires additional changes in bitcoinj. The files in wallet/libs/ are built from the proposal_keycrypterfactory_new_encryptiontype branch.

With Android Studio 2022.3.1 Patch 2 this current settings should build without additional changes

Change log: