security-samples
security-samples copied to clipboard
Multiple samples showing the best practices in security APIs on Android.
There are crashes in some Meizu phones, such as M5 note, PRO 7 Plus and so on. The system version is Android 7.0. The log is: `Fatal Exception: java.util.concurrent.TimeoutException: android.security.keystore.AndroidKeyStoreAuthenticatedAESCipherSpi$GCM$NoPadding.finalize()...
BiometricPrompt.AuthenticationResult only provide following value AUTHENTICATION_RESULT_TYPE_UNKNOWN, AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL, AUTHENTICATION_RESULT_TYPE_BIOMETRIC But from AUTHENTICATION_RESULT_TYPE_BIOMETRIC cant identify whether face or finger print or iris. Usecase : my application only support finger print. Since Fingerprint...
STEPS TO REPRODUCE: 1. Remove installed apk 2. Android Studio debug reinstall apk 3. Press "Create(Platform)" button, which is for FIDO2 CREATE by on-device authenticator only **3.1. Expected fingerprint prompt,...
Set "minifyEnabled" to **true**(no problem if set false) before running release apk, there would be a FC: ``` 2020-05-18 13:10:21.228 1992-1992/com.my.app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.my.app, PID: 1992 java.lang.ExceptionInInitializerError...
Readme says FIDO can only run on API 26 an above, but the sample is setting minSdkVersion to 15.
``` private fun encryptFile() { val title = binding.titleEditText.text.toString() val body = binding.bodyEditText.text.toString() if (title.isBlank()) return try { deleteFile(existingFileTitle) val encryptedFile = getEncryptedFile(title) encryptedFile.openFileOutput().use { output -> output.write(body.toByteArray()) } }...
---can be deleted--- Useless summary for the curious: I was wondering how to remove registered WebAuthn accounts. It turns out they can be overwritten by the software, or they can...
The getRegisterIntent and getSignIntent methods are deprecated in com.google.android.gms:play-services-fido:18.1.0. So I think it is better to update this FIDO sample application. **Release Note** https://developers.google.com/android/guides/releases **Fido2ApiClient** https://developers.google.com/android/reference/com/google/android/gms/fido/fido2/Fido2ApiClient
**Issue by [kazixma](https://github.com/kazixma)** _Tuesday Sep 06, 2016 at 06:33 GMT_ _Originally opened as https://github.com/googlesamples/android-DirectBoot/issues/8_ ---- When I set alarm clock and alarm manager don't work in time that I set....