mjwheatley / cordova-plugin-android-fingerprint-auth

A cordova plugin for fingerprint authentication using the hardware fingerprint scanner on devices running Android 6+
Apache License 2.0
168 stars 131 forks source link

Delete SecretKey in Android KeyStore #57

Closed simone-compagnone closed 7 years ago

simone-compagnone commented 7 years ago

Add delete SecretKey in Android KeyStore when call "delete" plugin method.

simone-compagnone commented 7 years ago

Init chiper with new iv and old key in keystore throw an exception and plugin crash.

simone-compagnone commented 7 years ago

The plugin crash if you try:

  1. Open your app with fingerprint plugin
  2. Register the fingerprint
  3. Close app
  4. Go to security settings on your device
  5. Register new finger on your device
  6. Open your app and call the plugin
  7. The plugin is in a inconsistent status and throw exception

Please merge this pull request