bitwarden / android

Bitwarden mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
6.27k stars 793 forks source link

vault search on iOS displays wrong results when selecting passkey #3242

Closed pkinerd closed 3 months ago

pkinerd commented 4 months ago

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. Click on '...'

Expected Result

Text/search in Bitwarden popup when selecting passkey on IOS should show items in vault that match the text entered

Actual Result

Other seemingly unrelated or no results are displayed

Screenshots or Videos

Searches during passkey selection pop-up:

IMG_9398 IMG_9397 IMG_9396

final search (by launching app and searching manually) - shows correct results

IMG_9399

Additional Context

screen shots show a vault item of “passkeys.io test” exists but isn’t displayed for search of “pass” or “passk” but is displayed for searches of “.io”… weirdly the search shows other results that don’t contain the searched phrase.

the final screen shot (time 7.32) shows that in the Bitwarden app - the search does display the one and only item matching “passk”.

Operating System

iOS

Operating System Version

17.4.1

Device

iPhone15 Pro

Build Version

© Bitwarden Inc. 2015-2024 Version: 2024.4.2 (7528)

Beta

lf- commented 3 months ago

Can reproduce on 2024.5.1 (7674) on iPadOS 17.4.1 on iPad Air 4th generation.

Steps: go to https://passkeys.io and register on desktop. It might do the same if you register from iPad, I didn't try.

Pull out your iOS device and go to https://passkeys.io and click the sign in with passkey button, which brings up this dialog (which, unlike what you're about to see, does work properly if you just hit continue; but there's no way to deal with multiple passkeys with that).

IMG_0079

Click "other sign-in options"

IMG_0080

Pick "Bitwarden", which brings up a search that doesn't work; enter "passkeys.io" in the search box, which should have results because there is an entry as evidenced by previous screens:

IMG_0081

To add bonus frustration, clicking an irrelevant result (since it shows results that don't even have passkeys! It should not do that) returns a non-descriptive error:

IMG_0082

vvolkgang commented 3 months ago

Issue migrated to https://github.com/bitwarden/mobile/issues/3242