keepassxc-browser icon indicating copy to clipboard operation
keepassxc-browser copied to clipboard

browser autofill uses passkey-username instead of username for entries that have a passkey

Open darealdemayo opened this issue 11 months ago • 2 comments

Expected Behavior

After importing a passkey into existing entry, I should be able to use the passkey and the username/password.

Current Behavior

After importing a passkey into existing entries, keepass-xc browseruse the passkey-username instead of the correct username to fill forms.

Possible Solution

I don't even know if this is a keepass-xc browser problem or keepassXC problem...

Steps to Reproduce (for bugs)

  1. import a passkey, which has a username that is different from the actual username used to login, into an existing entry
  2. try to use keepassxc-browser with that entry

Debug info

KeePassXC - 2.7.7 KeePassXC-Browser - 1.9.0 Operating system: Win10 22h2 Browser: Chromium Edge

darealdemayo avatar Mar 17 '24 01:03 darealdemayo

Are you trying to combine two different accounts in to one entry? Normally the passkey username is identical.

varjolintu avatar Mar 17 '24 05:03 varjolintu

No, it is the passkey that belongs to this exact username/password combination. I first need to enter the real username and password and then use the passkey for this account to login.

Most of my passkeys do have the same username as the actual account, but a few don't.

The passkey has a username field, so I would assume it should be possible for keepassxc/browser to distinguish between that and the real username of the entry?

darealdemayo avatar Mar 17 '24 15:03 darealdemayo

This is fixed in: https://github.com/keepassxreboot/keepassxc/pull/10874

varjolintu avatar Jun 09 '24 09:06 varjolintu