bitwarden/clients

Passkey authentication window randomly takes >6 seconds to load.

Opened this issue · 5 comments

Steps To Reproduce

  1. Install https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso
  2. Install https://kojipkgs.fedoraproject.org//packages/firefox/124.0.1/2.fc40/x86_64/firefox-124.0.1-2.fc40.x86_64.rpm from https://koji.fedoraproject.org/koji/rpminfo?rpmID=38143234
  3. Install https://github.com/bitwarden/clients/releases/download/browser-v2024.4.1/dist-firefox-2024.4.1.zip from https://addons.mozilla.org/firefox/downloads/file/4263752/bitwarden_password_manager-2024.4.1.xpi
  4. Attempt to use a FIDO passkey stored in Bitwarden to authenticate at, for example, https://accounts.google.com/v3/signin/challenge/pk/presend.

Expected Result

It shouldn't take that long.

Actual Result

The passkey apparently randomly takes almost 10 seconds to appear. It might occur more frequently when 20+ entries for a domain exist.

Screenshots or Videos

It's difficult to capture because it's seemingly random, but I'll try to.

Additional Context

No response

Operating System

Linux

Operating System Version

https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso

Web Browser

Firefox

Browser Version

https://kojipkgs.fedoraproject.org//packages/firefox/124.0.1/2.fc40/x86_64/firefox-124.0.1-2.fc40.x86_64.rpm

Build Version

https://addons.mozilla.org/firefox/downloads/file/4263752/bitwarden_password_manager-2024.4.1.xpi

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.

#8971 (comment)

I've filed this so that anyone with a similar issue can use this as a reference point, but I'll close it until I'm able to reproduce it consistently, and/or have a recording.

Hi there!

I attempted to reproduce your issue and was unable to do so.

We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our “Contact support” form located on our Help Center (https://bitwarden.com/help/).

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

#8971 (comment)

@NovaSilentium, it's already closed. Did you read #8971 (comment)?

I can confirm this slowness with Passkeys on our self hosted instance, the issue we have that is 100% reproducible is that our BW is behind VPN, and not all the time I am behind VPN and every time when I connect to some random website that use WebAuthn and use the Passkey stored inside my vault, it can take about 10-20 seconds before something happens. This I can do over and over again as long I am not behind the VPN.

When connected to VPN I have never seen any issue at all.

Tested with Windows 11, MacOS Sonoma (M1).
Browser: Chrome (latest stable).