I'm trying to create a complete log in system in android studio. I want to allow a user to log in to their account with their fingerprint sensor from the app. There isn't a backend server, so how I understand it, is they would have to activate the feature if they wish, and their login details should be kept in somewhere within the app or the android system.
I came across encrypted shared prefs form android EncryptedSharedPreferences#inherited-methods which seemed promising but here https://issuetracker.google.com/issues/132325342 it states that " 2) tik is used for encryption/key management. However as I far as I can tell it on API < 23 keys generated by Tink are stored in plaintext in SharedPreferences tink-android which in the end makes EncryptedSharedPreferences no more secure that ordinary SharedPreferences. "
So I was thinking of manually encrypting the data in shared prefs and then store the keys in keystore, would that be secure enough or would the users login credentials be compromised? So far how-to-securely-store-encryption-keys-in-android seems to be the most valid answer but still unsure if it would be enough?