strongbox-password-safe / Strongbox

A KeePass/Password Safe Client for iOS and OS X
https://strongboxsafe.com
GNU Affero General Public License v3.0
1.34k stars 102 forks source link

[BUG] Native macOS Universal AutoFill leaving the 'password' field blank on some websites #815

Open seakrebel opened 4 weeks ago

seakrebel commented 4 weeks ago

Preliminaries

I have ensured that:

Version

Bug Description

When using macOS Universal AutoFill to input credentials from Strongbox, the 'password' field is left blank on certain websites, even though the username fills correctly. This issue is inconsistent, as AutoFill works perfectly on some sites but fails on others. Importantly, these websites where Universal AutoFill fails to fill the password from Strongbox are compatible with the Apple Passwords, indicating that the HTML form structure is not the issue.

Steps to Reproduce

  1. Create an entry in Strongbox with a username and password for a test site (e.g., https://jack-wolfskin.de).
  2. Enable AutoFill for Strongbox:
    • On macOS, go to System Settings > AutoFill & Passwords and enable AutoFill for Strongbox only.
    • In Strongbox, go to Database > AutoFill Settings and ensure Enable AutoFill for this Database is enabled. (I also checked everything inside Advanced Settings just in case)
  3. Enable AutoFill in Safari:
    • In Safari, go to Settings > AutoFill and confirm that 'User names and passwords' is enabled.
  4. Test AutoFill:
    • Open Safari and navigate to https://jack-wolfskin.de.
    • Attempt to use AutoFill for the username and password fields.

Expected Result: Both username and password fields are populated by AutoFill.

Actual Result: Only the username is filled, while the password field remains blank.

Screenshots & Recordings

https://github.com/user-attachments/assets/0a145636-666c-4bb7-8203-0347b3b7b484

strongbox-mark commented 3 weeks ago

Thanks for the report, that is odd indeed and I can see the same issue. Do you have a list of other affected sites?

If Apple's own Passwords app is able to fill then Strongbox should be able to do the same...