Repository navigation
[feat] [biometric] Adding the capability of encrypting/decrypting data using biometric authentication on Android (Ref. #2306) - #2454
Conversation
…ric auth Adding the method biometricCipher() that allows to use the biometric authentication to use a generated key from android that can be accessed only through the biometric authentication. The method uses this key to encrypt/decrypt the data provided by the caller in the "options" parameter, with "dataToEncrypt" or "dataToDecrypt" filled. Changes were done both on Kotlin, Rust and JS sides.
|
Hello guys, anyone available to review this? |
|
I am looking forward to this feature! Currently, the biometric plugin lacks the ability to handle cryptographic operations, which is essential for secure credential storage. This PR solves a major pain point for mobile security in Tauri. |
Package Changes Through d9fe886There are 9 changes which include biometric with minor, biometric-js with minor, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, single-instance with patch, updater with minor, updater-js with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
I've used the current structure of the biometric plugin to use Android's capability of encrypting/decrypting data using a key that can only be accessible when the user successfully authenticates with their registered biometric methods.
More details on the need of this change can be found on the #2306 issue.
Summary of changes:
Kotlin
biometricCipherthat will be responsible to encrypt/decrypt data by asking the user for their biometric authentication and, when successful, get a key from android device to make the cryptography process.JS
Rust
Some implementation notes:
I'll need some guidance about where to change the site's documentation to include this new method.