Skip to content

Commit d3b7c1c

Browse files
committed
refactor: remove required biometrics for hmac key for now
1 parent 815ad27 commit d3b7c1c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

android/src/main/java/KeystorePlugin.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,7 @@ class KeystorePlugin(private val activity: Activity) : Plugin(activity) {
280280
val parameterSpec = KeyGenParameterSpec.Builder(
281281
KEY_HMAC_ALIAS,
282282
KeyProperties.PURPOSE_SIGN
283-
)
284-
// Require authentication on every use:
285-
.setUserAuthenticationRequired(!BuildConfig.DEBUG)
286-
.setInvalidatedByBiometricEnrollment(false)
287-
.setUserAuthenticationValidityDurationSeconds(-1)
288-
.build()
283+
).build()
289284
keyGenerator.init(parameterSpec)
290285
keyGenerator.generateKey()
291286
}

0 commit comments

Comments
 (0)