keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.91k stars 1.44k forks source link

TouchID not working on Mac Mini M1 on macOs Monterey 12.5.1 #8417

Open jmcollin78 opened 2 years ago

jmcollin78 commented 2 years ago

Overview

When trying to unlock with TouchID, the message: "Échec d’authentification avec Touch ID" (authentication failed with TouchID) is displayed. Unlock with TouchID is not possible. It works well with a MacBook PRO (not M1)

Steps to Reproduce

  1. Click on "Déverrouiller la base de données" (unlock database)
  2. The error message is displayed

Expected Behavior

  1. Click on "Déverrouiller la base de données" (unlock database),
  2. The touchID screen appears,
  3. Putting my finger on the TouchID pad will unock the database

Actual Behavior

(cf. Steps to reproduce)

Context

I've got a Mac Mini M1 2021 and a Apple keyboard with a touch id pad. It works well with my MacBook PRO (non M1). I have seen this worked before but the button "unlock the database" was not always shown. I update my Mac Mini M1 recently to MacOS Monterey 12.5.1

KeePassXC - Version 2.7.1
Révision : 5916a8f

Qt 5.15.2
Le mode débogage est désactivé.

Système d’exploitation : macOS 12.5
Architecture de l’unité centrale : arm64
Noyau : darwin 21.6.0

Extensions activées :
- Saisie automatique
- Intégration aux navigateurs
- Agent SSH
- KeeShare
- YubiKey
- Déverrouillage rapide

Bibliothèques cryptographiques :
- Botan 2.19.1

Operating System: macOS

phoerious commented 2 years ago

Does KeePassXC have all required permissions to use TouchID? Did you unlock the database with the password before?

jmcollin78 commented 2 years ago

Yes at both question. This morning after a full reboot, the TouchID is working normally. So wait and see and may be I will close the ticket.

Skeeve commented 2 years ago

Maybe related? #8029

jmcollin78 commented 2 years ago

No it is another problem. Today, the option is not visible (cf. https://github.com/keepassxreboot/keepassxc/issues/8029), yesterday it was there. This is very strange.

jmcollin78 commented 2 years ago

And today this is not working anymore. May be related, yes ? https://github.com/keepassxreboot/keepassxc/issues/8029

droidmonkey commented 2 years ago

Just restart keepassxc to see if it comes back. If it does, then likely a startup timing issue and we need to make touchid detection more dynamic.

jmcollin78 commented 2 years ago

After restart, login without TouchID the touchID feature is NOT presented by KeepassXC. Maybe your proposal @droidmonkey "make touchid detection more dynamic" is relevant.

phoerious commented 2 years ago

Hmm. I can sometimes reproduce that it's not being offered, but it definitely comes back after a restart of KeePassXC. Will have to check what's going on there.