LedgerHQ / app-security-key

Apache License 2.0
7 stars 3 forks source link

Do not work on android device #10

Closed Viald closed 11 months ago

Viald commented 1 year ago

Hi. When trying to auth for Google (or others site) on Chrome for Android, it just gets stuck in an authentication loop forever asking to allow Play Services access to the security key over and over again, like if the app was crashing on every attempt.

That's the same issue with the previous U2F authentication app on LNX and LNS+. Check this video to see what's happening. https://dai.ly/k6RjcJI85fIJ6YyLnY6

xchapron-ledger commented 1 year ago

Hello, there shouldn't be any need for the Ledger Live on your phone to use the FIDO applications. Can you try it without the Ledger live app? Maybe by uninstalling it temporally?

Viald commented 1 year ago

there shouldn't be any need for the Ledger Live on your phone to use the FIDO applications.

I agree

Can you try it without the Ledger live app? Maybe by uninstalling it temporally?

I have uninstalled Ledger Live. That's the same issue. You can see during 1 second FIDO2 app asking for validating authentication and then the Google Play services asks again to access the security key, over and over in the same loop.

xchapron-ledger commented 1 year ago

Hello, I'm not 100% sure, but I found this and I'm wondering if that means that FIDO2 (the techno behind passkeys) doesn't work on Android as of now? image

Viald commented 1 year ago

Hello. It could be the reason. But the Ledger support confirms that it works well on other android devices. They told that the issue is my smartphone. The Samsung S21 wouldn't be compatible 🤔

xchapron-ledger commented 11 months ago

Hello @Viald , I just wanted to let you know that with the app version 1.4.0 which will be deployed once https://github.com/LedgerHQ/app-security-key/pull/27 is merged, the app will be compatible with Chrome on Android. Note that as of now this require:

Viald commented 11 months ago

Thank you @xchapron-ledger for pointing me this update. I will test it as soon as it will be available.

xchapron-ledger commented 11 months ago

@Viald the version has just been deployed.

I'm clausing this issue as as far as I know this now works on up to date Android device (when Android allows a roaming authenticator - aka when Discoverable credential settings as been set to discouraged by the RP as of now).

Viald commented 10 months ago

Hello. It works like a charm only with webauthn.io and the correct setting (discoverable credential = discouraged). Unfortunately, it does not work with other site like bitwarden. Update: It works fine with paypal 👍