Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-keystore"
version = "2.4.0"
version = "2.4.1"
authors = ["0x330a"]
description = "Interact with the device-native key storage (Android Keystore, iOS Keychain) & perform ecdh operations for generating symmetric keys"
edition = "2021"
Expand Down
7 changes: 1 addition & 6 deletions android/src/main/java/KeystorePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,7 @@ class KeystorePlugin(private val activity: Activity) : Plugin(activity) {
val parameterSpec = KeyGenParameterSpec.Builder(
KEY_HMAC_ALIAS,
KeyProperties.PURPOSE_SIGN
)
// Require authentication on every use:
.setUserAuthenticationRequired(!BuildConfig.DEBUG)
.setInvalidatedByBiometricEnrollment(false)
.setUserAuthenticationValidityDurationSeconds(-1)
.build()
).build()
keyGenerator.init(parameterSpec)
keyGenerator.generateKey()
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metasig/tauri-plugin-keystore-api",
"version": "2.4.0",
"version": "2.4.1",
"author": "0x330a",
"description": "Interact with the device-native key storage (Android Keystore, iOS Keychain) & perform ecdh operations for generating symmetric keys",
"type": "module",
Expand Down