Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Face Touch Id veritification on android #68

Open
symeonmattes opened this issue Nov 12, 2019 · 0 comments
Open

Face Touch Id veritification on android #68

symeonmattes opened this issue Nov 12, 2019 · 0 comments

Comments

@symeonmattes
Copy link

I'm using the plugin for login. The basic idea is:

  1. When the user tries to login for the first time the password is stored by using this.keychainAuthService.saveIntoKeyChain("mykey", password).
  2. Then when the user tries to login again then the touchid/faceid alert appears and if the fingerprint is correct the password is restored with this.keychainAuthService.getFromKeyChain.

The problem is on this.keychainAuthService.saveIntoKeyChain in android devices (not ios). I suppose for security purposes it asks again the user to use touch (fingerprint) in order to allow to store the password.

In order to avoid this I have found in https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id/blob/master/www/touchid.js:
userAuthenticationRequired if true will save after authentication with fingerprint, if false there's no need to authenticate to save.

In versions that have been released, i.e. through "cordova plugin add cordova-plugin-keychain-touch-id", the latest is 3.2.1, it doesn't have this functionality.

Is there any reason why it's not officially released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant