-
Notifications
You must be signed in to change notification settings - Fork 81
mac problems #34
Comments
As per request from Yubico/yubico-pam#24 (comment) Miguels-MacBook-Pro:~ miguel$ ykinfo -a (same result as if I ran ykpamcfg -2, trying to get challenge response to work on slot 2) It works if I use sudo (e.g am root) sh-3.2# ykinfo -a Mac OS X 10.9.2 |
P.S I had no problem with the personalization tool on Mac as was otherwise reported in Yubico/yubikey-personalization-gui#25 - I programmed Slot 2 in Challenge Response mode but am unable to generate the challenge for it into ~/.yubico unless I use sudo/root to avoid the kIOReturnSuccess error above. I am therefore not convinced it's an issue with the Personalization Tool but with permission related to USB devices in OS X 10.9. |
This might be relevant? (see last comment) http://stackoverflow.com/questions/13629199/how-can-a-daemon-user-access-hid-devices-without-getting-kioreturnnotprivileged |
Found the problem: I had the setting 'Secure Keyboard Entry' turned on in my iTerm/Terminal. Something about this setting triggers some OS X setting designed to prevent keylogging, which appears to have prevented the ykinfo/ykpamcfg tools from interacting with what OS X considered to be a keyboard. Disabling 'Secure Keyboard Entry' allowed me to run ykpamcfg and get my screensaver 2-factor auth working! |
I'm happy you resolved this. We'll add this to our documentation. I'm not convinced this is the only Mac-related issue, though, so I'm keeping this issue open to track other Mac issues. |
This is still an issue in OS X 10.10 (Yosemite). I'm running iTerm2 and I have 'Secure Keyboard Entry' disabled and I still cannot use the yk* tools as a non-admin user. I also tried directly via Terminal.app and experience the same problem. I'm guessing it probably has to do with the stackoverflow topic linked by mig5. EDIT: The obvious method of setting suid on the binaries does cause them to work but, of course, is not optimal. |
@pkutzner You need to restard iTerm2 after disabling Secure Keyboard Entry and it work fine on Yosemite |
Hi, I'm french...;-) Today 9 march 2015 I m testing yubico neo for french medical issue ( of Accounting Double Certification). Can i have an idea of when is resolve? . Thank |
I ran in to the same problem, I believe the issue is with access to the USB devices. However the odd part about this is that I have two macs. One with disk encryption (macbook pro) the other a desktop with out it, and the one with disk encryption does not work. I wonder if any of you having issues with the Mac are also using disk encryption?. Output from Macbook Pro➜ yubikey ykinfo -a |
I resolved my issue by removing all the opensc-tools, gpg, and then reboot(not sure if the reboot was needed). |
Can this issue be closed ? As of today, building on OSX and using the tool as described works pretty fine (OSX 10.11.6). |
Don't close, I just had the same problem, and I have opensc-tools/gpg. Maybe something locked the device? |
@Methou Could you dump your system information, as well as related software versions and installation methods (e.g. opensc-tools, gpg, yuibkey-personalization etc ?). Are you perchance running |
@thorduri unfortunately, my MacBook was sent in for repair, and I'm not getting it back for at least a week. The problem is exactly like what they've described before, that you have to I think I'll be settled with |
Same here, |
Same here:
On 10.12.2, yubikey neo |
Shared in the Yubico/yubikey-personalization-gui#25 as acomment. Adding here too:
|
I can confirm that the @bisko workaround of configuring Karabiner-Elements to not modify events from the yubikey solves the |
Any way this can be put on the public website FAQ (the Karabiner-Elements issue)? I just spent like 2 hours trying to figure out why my YubiKey4 wasn't working on Sierra. |
Unfortunately this issue is still relevant. Any suggestions on how to make it work? Update: everything seems to work fine with GPG Suite installed from https://gpgtools.org/ |
I have the same issue. I uninstalled gpg but I still getting this error. But the error is intermittent, usually it happens few yours after login. I am using the MacBook Pro (2017) with USB-C adaptor to be able to recognise my yubikey nfc. I wonder how I can provide more debug information. As a regular user:
as a root:
I am using Mac Mojave (10.14.5). This issue is quite annoying because when it happens I am not able to use KeePassXC since the Yubikey is not recognised anymore. |
I am having the same problem as @thobryan also on a Macbook Pro also on macOS Mojave. The KeePassXC problem is my main problem. Yubico/yubikey-personalization-gui#25 |
Same here. Happens a few hours after login in. It might be related to the "secure keyboard" entry and or Keybase; noticed the issue happening always after opening either the terminal or keybase. |
Not working... sad that such tools are advertised on the website, yet updating them was left to... |
There seems to be problems using the library and tools on mac, most of these issues seem to be on 10.7.
This might be a permissions issue and work better as root.
The text was updated successfully, but these errors were encountered: