yubikeylockd icon indicating copy to clipboard operation
yubikeylockd copied to clipboard

Error: shtirlic/yubikeylockd/yubikeylockd: Calling plist_options is disabled! Use service.require_root instead.

Open zgypa opened this issue 1 year ago • 2 comments

When installing via homebrew 4.1.14 on macOS 11.7.10 according to the instructions on the README the following error is raised and installation failes.

Error: shtirlic/yubikeylockd/yubikeylockd: Calling plist_options is disabled! Use service.require_root instead.
Please report this issue to the shtirlic/yubikeylockd tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/shtirlic/homebrew-yubikeylockd/yubikeylockd.rb:15

zgypa avatar Oct 03 '23 18:10 zgypa

Hi, thank you for the report, new service API impl does not provide features used in prev startup scenario

    <dict>
      <key>com.apple.iokit.matching</key>
      <dict>
        <key>com.apple.device-attach</key>
        <dict>
            <key>idProduct</key>
            <string>*</string>
            <key>idVendor</key>
            <integer>4176</integer>
            <key>IOProviderClass</key>
            <string>IOUSBDevice</string>
            <key>IOMatchLaunchStream</key>
            <true/>
        </dict>
      </dict>

Triggering only on usb device with specific ids, I will look more into it. We can workaround this for just ruining yubikeylockd service always without any trigger on usb specific device.

Ref: https://github.com/koekeishiya/yabai/issues/1619

shtirlic avatar Oct 05 '23 03:10 shtirlic

OK. What are the current recommended steps to work around this issue? Should i be modifying the startup daemon plist somewhere? Or create my own? I don't think the brew installation succeeds at all. Maybe install using a specific command to skip the step?

zgypa avatar Oct 05 '23 19:10 zgypa