-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS 10.15 Catalina: Yubikey slots not populating #3329
Comments
Does it work with the Yubikey Personalization tool? |
Then this would be an error at the OS level or an incompatibility with yubikey itself. Recommend reporting the bug over on their repository: https://github.com/Yubico/yubikey-personalization-gui |
👍 reported at Yubico/yubikey-personalization-gui#87 |
One more hint though: Using it in browsers for 2fa authentication or as a gpg smartcard for signing/encrypting e-mails still works though, so it is not completely broken. But looks like the functionality used in keepassxc and personalization tool is. |
I made it working again by going to system settings --> security --> privacy --> input monitoring and manually adding keepassxc.app there. Looks like this permission should be requested by keepassxc when launching and/or trying to access yubikeys. |
This comment has been minimized.
This comment has been minimized.
Yes looks like Catalina is introducing new privacy features that require additional approvals. Unfortunately they don't seem to be documented yet or it is non-intuitive when I read the apple developer documentation. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@thobryan using Beta 10.15 (19A546d) and it works like this for me: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
macOS likes to "forget" permissions you gave an app but still show that you gave them. I've run into this with AutoType as well. For this issue, is there a new entitlement we should be asking for? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Upgraded from 10.14.6 today to 10.15.1 - had KeePassXC upgraded to 2.5.0 - created manually 'input monitoring' entries for both KeePassXC and YubiKey Personalization Tool - it works smoothly. Thanks @droidmonkey |
I need to figure out how to trigger the permission request for input monitoring |
I'm on a machine stuck on High Sierra and I've had this issue ever since I got my YubiKey, so around version 2.3.4, and I was unable to fix the issue with the privacy settings mentioned above, as High Sierra lacks all of it. However, I did some Googling around, and it seems that this issue is somehow triggered if "Secure Keyboard Entry" is enabled in Terminal's settings – I disabled it, and my key started to immediately work in KeepassXC, alongside with This thread is relevant: Yubico/yubikey-personalization#34 |
I'am on a machine stuck with High Sierra (10.13.6) and have same problem as well. Disabling the "Secure Keyboard Entry" in the Terminal settings works for me fine (KeePassXC 2.5.1).
Thanks for the hint @499602D2 ! This does not solve the real problem, but for now a good workaround. |
I can verify that adding to security -> privacy -> input monitoring also works for OnlyKey. Is it possible for future release to automatically request adding KeePassXC to input monitoring? I think it already requests to automatically be added to accessibility. |
I'll need a link to the documentation to do that. I find Apple's documentation to be the absolute worst. |
@droidmonkey Did a little digging into it and I am thinking that Mac released 10.15 without a way yet for apps to request this, or at least its not documented yet: EDIT - Did a little more digging, still no luck. Looks like others have this issue too - https://discussions.apple.com/thread/250754222 |
Workaround Generally: Add ("+" or drag and drop) KeePassXC.app into "System Settings --> Security --> Privacy --> Input Monitoring". Workaround when the above won't work as no list appears: Populate Input Monitoring with another app first.
|
I've tried all the possible workarounds to get my OnlyKey working. KeePassXC is added to input monitoring and version 2.6.1, re-added is a couple of times as well, but still slots aren't populated. Just a minute ago I found errors some errors caused by KeePassXC in my Console:
These errors occur when hitting 'Refresh' next to the slots. Anybody got an idea what might be happening here? cc @onlykey |
@phoerious what version of ykpers are you deploying with the macos build? |
Can't check right now, but it should be the latest one from homebrew. |
@tswestendorp Mac OS requires restart of app to have the privacy change take effect. I think in some cases it may require a reboot though, any luck after reboot? |
Unfortunately not 😕 |
This was the solution for me too! |
I am closing this issue since it's not on us. |
Since upgrading to 10.15 catalina beta I cannot unlock my database which is secured with yubikey challenge response: the yubikey is not detected.
Expected Behavior
Unlock database with yubikey
Current Behavior
Yubikey is not detected:
I tried restarting everything, no change :-(
Otherwise yubikey works as expected (eg. with gpg), so currently only keepassxc cannot access it.
Debug Info
KeePassXC - Version 2.4.3
Revision: 5d6ef0c
Qt 5.12.3
Debugging mode is disabled.
Operating system: macOS 10.15
CPU architecture: x86_64
Kernel: darwin 19.0.0
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.4
The text was updated successfully, but these errors were encountered: