- Added new
dismiss()
action
- Added Korean translations
- merged pull request #125
- Added index.d.ts for Typescript support
- merged pull request #118
- Update German strings
- merged pull request #117
- Added Arabic translations
- merged pull request #114
- Bug fix: KeyStore not initialized when trying to delete entry
- merged pull request #106
- Added Thai translations
- merged pull request #102
- Feature request for issue #100
- added back the
userAuthRequired
param but set default tofalse
- added back the
- Bug fix for issue #98
- Use
resource-file
tag for resources instead ofsource-file
- Use
- new parameter
encryptNoAuth
- Encrypt input without displaying authentication dialog
- removed parameter
userAuthRequired
- userAuthRequired will always be set to
false
- This fixes issue #85 and issue #88
- Developers using default setting for this value (did not explicitly set
userAuthRequired
tofalse
) should add a call toFingerprintAuth.delete()
and re-encrypt credentials to regenerate a new secret key that will allow backup authentication to encrypt/decrypt using the new secret key. This should fix anyILLEGAL_BLOCK_SIZE_EXCEPTION
messages when using backup authentication.
- userAuthRequired will always be set to
- changed credential delimiter
- backwards compatible - will be able to decrypt tokens created by prior versions of this plugin.
- Bug fix for issue #86
- Fixed issue #85 No token returned when using PIN backup
- Authentication with backup credentials will now use cryptography to encrypt or decrypt a token.
- Updates to README
- Merge pull request #66 from videmort/master: Update Spanish literal
- Merge pull request #65 from nataze/backup-PIN: PIN fallback when fingerprint isn't supported
- Bug fix for issue #54
- Allow state loss of dialog fragment
- Changed manifest permission check
- Now using cordova.hasPermission()
- Removed dependency on android.support.v4 library
- Removed build-extras.gradle
- Improved German translations - pull request #58
- Bug fix for issue #57 - deleting secret key in Android Keystore.
- Added fixed error codes - pull request #56
- Added
ERRORS
JSON Object to the FingerprintAuth class prototype with the following fields corresponding to the new fixed error codes:BAD_PADDING_EXCEPTION, CERTIFICATE_EXCEPTION, FINGERPRINT_CANCELLED, FINGERPRINT_DATA_NOT_DELETED, FINGERPRINT_ERROR, FINGERPRINT_NOT_AVAILABLE, FINGERPRINT_PERMISSION_DENIED, FINGERPRINT_PERMISSION_DENIED_SHOW_REQUEST, ILLEGAL_BLOCK_SIZE_EXCEPTION, INIT_CIPHER_FAILED, INVALID_ALGORITHM_PARAMETER_EXCEPTION, IO_EXCEPTION, JSON_EXCEPTION, MINIMUM_SDK, MISSING_ACTION_PARAMETERS, MISSING_PARAMETERS, NO_SUCH_ALGORITHM_EXCEPTION, SECURITY_EXCEPTION
- Changed error message for cancelled from "Cancelled" to fixed error code
FingerprintAuth.ERRORS.FINGERPRINT_CANCELLED
- Bug fix for issue #61 - added missing source-file element for German strings to plugin.xml
- Bug fix for issue #46 - Dismiss fragment in a safer way
- Updated
build-extras.gradle
to use Android SDK 25.
- German translations
- Bug fix -
isAvailable()
returning message "Missing required parameters". - Added
build-extras.gradle
to add dependencycom.android.support:support-v4:23.0.0
to check for manifest permissions. - Added check and request for permission to use fingerprints.
- Added error handling for
SecurityException
- Removed
FingerprintAuth.CipherMode
- Removed
FingerprintAuth.show()
in favor of separate actions for encrypt and decrypt - Added
FingerprintAuth.encrypt()
- Added
FingerprintAuth.decrypt()
- Made
username
optional token
is required fordecrypt()
- Removed
FingerprintAuth.CipherMode
- Removed
FingerprintAuth.show()
in favor of separate actions for encrypt and decrypt
Introducing encryption and decryption of user credentials.
- Added parameters to the FingerprintAuth Config Object
Param | Type | Description |
---|---|---|
username | String | (REQUIRED) Used to create credential string for encrypted token and as alias to retrieve the cipher. |
cipherMode | FingerprintAuth.CipherMode | (REQUIRED) Used to determine if plugin should encrypt or decrypt after authentication.
|
password | String | Used to create credential string for encrypted token |
token | String | Used to create credential string for encrypted token. |
- Changed FingerprintAuth.show() Result fields
Param | Type | Description |
---|---|---|
withFingerprint | boolean | true if user authenticated using a fingerprint |
withBackup | boolean | true if user used the backup credentials activity to authenticate. |
cipherMode | FingerprintAuth.CipherMode | Pass through parameter from config object. |
token | String | Will contain the base64 encoded credentials if withFingerprint == true and cipherMode == FingerprintAuth.CipherMode.ENCRYPT . |
password | String | Will contain the decrypted password if withFingerprint == true and cipherMode == FingerprintAuth.CipherMode.DECRYPT |
- New method FingerprintAuth.delete() to delete the cipher used to encrypt/decrypt user credentials.
- Removed
clientSecret
parameter from the FingerprintAuth Config Object. - Added new required parameters
cipherMode
andusername
. - FingerprintAuth.show() result
withFingerprint
is now a boolean. You will need to obtain the encrypted token from thetoken
field. - FingerprintAuth.show() result
withPassword
was changed towithBackup