Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YubiKey 5 cannot be used to login via NFC on Samsung A22, but it works via USB #12555

Open
NikoD1978 opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@NikoD1978
Copy link

NikoD1978 commented Jan 3, 2025

Describe the bug
On my Samsung A22 G5 phone (Android 13), NFC works like a charme for things like paying with my digitally stored credit card, passport scans etc.. But I cannot use my two Yubikeys to login to Github, neither in Firefox, nor in Chrome nor in the Github app.

Maybe it has to do with the fact that neither app asks me for the respective pin of the Yubikeys?

Also, while it is somewhat possible to use the Yubikeys via my phone's USB port, it is odd that they're detected as USB keyboard, and I have to explicitely open the screen keyboard again to then enter the pin. But via USB I am at least asked to enter the pin.

On my PC I can login with my YubiKeys just fine, and I can also use them without problems with other apps via NFC on my Samsung phone. Also, on the same phone I can log into my Microsoft account with my YubiKeys via NFC without a problem in every browser.

To Reproduce
Steps to reproduce the behavior:

  1. Open Chrome, Firefox or the GitHub app on a Samsung A22 G5 phone
  2. Go to GitHub Login
  3. Click on 'Sign in with Passkey'
  4. Click on 'Use other device'
  5. Click on 'NFC security key'
  6. Hold YubiKey 5 to your NFC sensor for 10 seconds
  7. See error message "Something went wrong. Try inserting your security key in your phone's USB port or connect it with a USB cable or adapter"

Expected behavior
I expected at 7. to either be asked to touch the YubiKey 5 or to enter its PIN. After that I would have expected to be logged into my GitHub account.

Screenshots
Capture

Logs
I have a log from TagInfo about my YubiKey that shows that the device itself is working perfectly fine, except when I attempt to use it via NFC to log into GitHub.

27-7C-AF-DF-01-AF-7C_23-Dez.-24 21-02-12_taginfo_scan.txt

@NikoD1978 NikoD1978 added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant