security-samples icon indicating copy to clipboard operation
security-samples copied to clipboard

Multiple samples showing the best practices in security APIs on Android.

Results 33 security-samples issues
Sort by recently updated
recently updated
newest added

I use a FIDO android SDK https://developers.google.com/android/reference/com/google/android/gms/fido/package-summary and web FIDO lib https://github.com/lbuchs/WebAuthn as a server To complete authentication I send to the server the following payload: ```{"authenticatorData":"uGLTOEtQtBsB4wjhEvR0ZVayRWn/3mhUyp6dqFFY0a8BAAABDQ==","clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiLW9zc3JiYXY3SmhmUWlQY1ZlMzFkdDQxMG5ZWHVvWW9kM1FYdHc5VmlIUSIsIm9yaWdpbiI6ImFuZHJvaWQ6YXBrLWtleS1oYXNoOmZiRU5UdkNTZVItQXdKVjVycnJCc2I5OHAtakV3MGM1U1NPTXVsX0t3YUkiLCJhbmRyb2lkUGFja2FnZU5hbWUiOiJjb20uYWZ0ZXJsb2dpYy5hdXJvcmEubWFpbCIsInRva2VuQmluZGluZyI6eyJzdGF0dXMiOiJwcmVzZW50IiwiaWQiOiJodHRwczpcL1wvdGVzdC5hZnRlcmxvZ2ljLmNvbSJ9fQ==","id":"LEBlQOlamqsmKzRBPQe9y0BFN5IaQ5BBB1ByiDH85HulzCYQTffqeK0RQDoZqUO7syGZY+hkfWf9P2FiQQ3eVA==","signature":"MEUCICFf8qFGiXxGTBokpstfUsCwbd7JTsLlDrFZoGMi3tZzAiEA0zAXxFDeqA7gF6YahudK+LD2gDUPtAnXqgAvvhVc/vE="}``` The field ```clientDataJSON```...

When I imported the project and tried to build it as-is, I got an error: "Unable to make field private final java.lang.String java.io.File.path accessible" build was successful as soon as...

When upgrading AGP from version 7.2.2 to 7.3.1, the implementation I had for detecting if there was a change in the biometric (e.g. adding a new fingerprint) does not work....

Caused by: java.lang.IllegalArgumentException: WebView cannot be used with device protected storage at com.android.webview.chromium.WebViewChromiumFactoryProvider.b(

When I run the fido demo, then click google to log in, select an account, and report this error after logging in successfully: com.fido.example.fido2apiexample E/GAEService: Error getting all security key...

Hi, I've just mentioned this difference in Readme (about min SDK version) so I wanted to know what is the difference between these two statements? From the top of Readme:...

I'm using the Fido2 demo and it works fine, but when I set a PIN for the yubico key, I can't register successfully. So how should I verify the PIN?...

I've tried to run the app on Emulator API 33, it crash as below (but it is working on API 32 and below): 2022-09-01 17:46:41.132 21363-21363/com.example.biometricloginsample E/AndroidRuntime: FATAL EXCEPTION: main...