Skip to content
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

ykman otp : Failed to connect to the device on OSX Sonoma 14.1.1 #581

Open
justinpitts opened this issue Nov 28, 2023 · 1 comment
Open

Comments

@justinpitts
Copy link

  • YubiKey Manager (ykman) version: 5.1.1
  • How was it installed?: Package distro from github
  • Operating system and version: Sonoma 14.1.1 on a M1 Mac mini
  • YubiKey model and version: YubiKey 5C Nano (5.2.4) [OTP+FIDO+CCID]
  • Bug description summary: Encountered error 'ERROR: Failed to connect to the device' when attempting to update an OTP slot

Steps to reproduce

I ran the following command in zsh 5.9 in iterm 3.4.22

ykman --device 11501162 otp static -k US --no-enter 2

Expected result

ykman prompts me for a new value for the slot

Actual results and logs

WARNING: Failed opening device
WARNING: Failed opening device
WARNING: Failed opening device 
WARNING: Failed opening device
WARNING: Failed opening device
WARNING: Failed opening device
WARNING: Failed opening device
ERROR: Failed to connect to the device`

This is a persistent failure. I reproduce it every time I attempt it.

Other info

Iterm.app has been granted the Input Monitoring permission.
Upon encountering this error, I removed and re-added the Input Monitoring permission from Iterm.app
This functionality was previously working. I rotate this OTP password every 90 days, and have done so for this key at least 10 times. This may well be the first time I have done so since upgrading to Sonoma.

@justinpitts
Copy link
Author

I am able to update this OTP slot on this key on a different M1 Mac running Sonoma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant