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

Passkey throws error using CTAP2 in offline environment #1211

Open
1 task done
holow29 opened this issue Dec 16, 2024 · 1 comment
Open
1 task done

Passkey throws error using CTAP2 in offline environment #1211

holow29 opened this issue Dec 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@holow29
Copy link
Contributor

holow29 commented Dec 16, 2024

Steps To Reproduce

  1. Have a functional passkey synced to vault for Github.com
  2. Enable airplane mode on iPhone (WiFi/cellular off); ensure bluetooth on
  3. On computer in browser (e.g. Chrome) visit github.com/login and click "Sign in with a passkey"
  4. Choose CTAP2 option (e.g. "Use a phone or tablet") to generate pairing QR code
  5. Use iOS camera app to scan QR code and attempt to pair

Expected Result

Successful prompt for passkey selection

Actual Result

"The operation could not be completed. Please try again."

Screenshots or Videos

Untitled2.mov

Additional Context

Once out of airplane mode, it works. There is complication of #1186 which affects this later in the flow. Likely any RP, not just Github, but easily reproducible there.

Possible that this is an Apple issue. When not in airplane mode but with cellular data off & wifi off, stuck on "Connecting..." iOS pane underneath which it says, "Make sure both devices are connected to the internet and have Bluetooth turned on." AFAIK CTAP2 should not require internet access for authenticator. (And oddly this is different behavior than airplane mode as described above.)

Build Version

1740

What server are you connecting to?

Self-host

Self-host Server Version

2024.12.1

Environment Details

iPhone 14 Pro
iOS 18.2

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@holow29 holow29 added the bug Something isn't working label Dec 16, 2024
@NovaSilentium
Copy link

Hi there,

You could try simply re-register a new passkey (and make sure to not use it with older clients)

This been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

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

2 participants