android.security.keystore.KeyStoreConnectException
Opened this issue · 3 comments
at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized (AndroidKeyStoreCipherSpiBase.java:254)
at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit (AndroidKeyStoreCipherSpiBase.java:108)
at javax.crypto.Cipher.tryTransformWithProvider (Cipher.java:615)
at javax.crypto.Cipher.tryCombinations (Cipher.java:535)
at javax.crypto.Cipher.getSpi (Cipher.java:440)
at javax.crypto.Cipher.init (Cipher.java:818)
at javax.crypto.Cipher.init (Cipher.java:777)
at com.beautycoder.pflockscreen.security.PFSecurityUtils.initDecodeCipher (PFSecurityUtils.java:176)
at com.beautycoder.pflockscreen.security.PFSecurityUtils.decode (PFSecurityUtils.java:128)
at com.beautycoder.pflockscreen.security.PFFingerprintPinCodeHelper.checkPin (PFFingerprintPinCodeHelper.java:53)
at com.beautycoder.pflockscreen.fragments.PFLockScreenFragment$6.onCodeCompleted (PFLockScreenFragment.java:287)
at com.beautycoder.pflockscreen.views.PFCodeView.input (PFCodeView.java:84)
at com.beautycoder.pflockscreen.fragments.PFLockScreenFragment$1.onClick (PFLockScreenFragment.java:164)
Using:
PinActivity.launch(this, PFFLockScreenConfiguration.MODE_AUTH, REQUEST_PIN, "12345");
I to have this problem what i need to do ?
val fragment = PFLockScreenFragment()
val builder = PFFLockScreenConfiguration.Builder(context!!)
builder.setMode(PFFLockScreenConfiguration.MODE_AUTH)
builder.setUseFingerprint(true)
builder.setTitle("")
builder.setCodeLength(4)
builder.setErrorVibration(true)
fragment.setConfiguration(builder.build())
builder.setClearCodeOnError(true)
builder.setNextButton("Next")
childFragmentManager.beginTransaction()
.replace(R.id.pincode_framelayout, fragment)
.commit()
is this issue still open? what is the solution please