KeePassium icon indicating copy to clipboard operation
KeePassium copied to clipboard

MacOS/Safari: Autofill works without TouchID and TouchID-windows still appears

Open cryptosteve2 opened this issue 1 year ago • 8 comments

Description I am unsure whether this is a bug or a misconfiguration. When selecting the autofill entry in Safari, in some cases the credentials are already filled in and then the TouchID window still appears. Logging in works regardless of whether Touch ID is still confirmed.

How to reproduce Steps to reproduce the behavior:

  1. Go to the website
  2. Tap on Login
  3. Select the autofill entry

This happens on sites like https://www.zdf.de or https://www.abendblatt.de for example while it works as expected on github.com or https://write.tchncs.de/login

Expected behavior Confirm Touch-ID and then fill in the credentials

Screenshots On sites it does not work (here: https://www.zdf.de): 20240706@200909

while on this site is works as expected (here: https://write.tchncs.de/login): 20240706@201031

Environment:

  • Device: MacBook Pro 13-inch, M1, 2020
  • OS: MacOS 14.5 (23F79)
  • App Version: KeePassium Pro v1.52.151 Pro

cryptosteve2 avatar Jul 06 '24 18:07 cryptosteve2

Thank you, @cryptosteve2 (and sorry for the delay).

I have another report about this issue, but could not reproduce it. The different behavior on different sites is a useful detail.

Can you also please share your App Protection timeout and first three options in the Data Protection settings?

keepassium avatar Jul 14 '24 10:07 keepassium

Hey, App Protection timeout is set to "Immediately", and I also activate the option to "Lock on App launch". At Data Protection I activated the option "Remember Master Keys", Database Timeout is set to "Never" and "Clear Master Keys on Timeout is activated too.

cryptosteve2 avatar Jul 16 '24 18:07 cryptosteve2

This sounds like the same bug I described in a comment on #259. I'm seeing the same behavior that @cryptosteve2 described: autofill consistently works as expected on certain domains such as github.com but immediately fills before Touch ID authentication on other domains. My settings are the same as @cryptosteve2's.

I'd be happy to provide a list of domains where the bug does and does not occur via email if that would be helpful.

blinskey avatar Jul 20 '24 05:07 blinskey

Hi @cryptosteve2, I am trying to reproduce your issue but no luck so far. I am using the settings you described and https://www.zdf.de where I created an account. I am on macOS 14.6.1.

Here is a video of my attempt, if I do not use TouchID or password nothing gets filled in.

https://github.com/user-attachments/assets/8b2082ea-69ab-4f2f-ab41-e752d28ea23a

Are my steps different from your steps? Can you maybe provide a video instead of just screenshots?

I am also interested in knowing if you have Quick Autofill enabled in the app and if in macOS do you have just Keepassium or also iCloud Keychain or other apps enabled in the Password Options,

igorkulman avatar Aug 29 '24 07:08 igorkulman

Hi @igorkulman My database is unlocked when trying to login ....

And yes, autofill is enabled. The following the options are enabled in the settings:

Quick Autofill Fill-in Perfect Result Automatically Copy OTP to Clipboard

In the MacOS settings I have only Keepassium Pro enabled, iCloud Keychain and Strongbox exists but are disabled.

cryptosteve2 avatar Aug 29 '24 10:08 cryptosteve2

And yes, autofill is enabled. The following the options are enabled in the settings:

Does it work differently when the database is not unlocked? Or when the Keepassium app is not even running?

Asking because I still cannot reproduce, even with Quick Autofill enabled, database unlocked and all your other settings:

https://github.com/user-attachments/assets/9e189261-5611-4d17-8b71-6c252b3e7661

igorkulman avatar Aug 29 '24 13:08 igorkulman

It makes no difference whether keepassium is running or not. In this video I skip fingerprint by pressing ESC ....

https://github.com/user-attachments/assets/832168a2-9f35-4a8e-8db3-a4e36b5c21ce

cryptosteve2 avatar Aug 29 '24 14:08 cryptosteve2

Sorry, false alarm, not fixed yet.

keepassium avatar Sep 08 '24 21:09 keepassium