Opened 23 months ago

Last modified 9 months ago

#65332 assigned defect

1password-cli must be in /usr/local/bin/ for biometric unlock to work

Reported by: halostatue (Austin Ziegler) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: newtonne, 0x1DA117 (Daniel of Service)
Port: 1password-cli

Description

This is a major problem with a new feature in 1Password CLI 2.x and 1Password 8, and I don’t see a way to resolve it while remaining true to the way that MacPorts works and manages only in /opt/local.

After having installed 1password-cli using MacPorts, I got the following message:

[ERROR] 2022/06/11 21:09:16 connecting to desktop app: You'll need to move the CLI to /usr/local/bin/op for biometric unlock to work. If you can't move it, you'll need to turn off biometric unlock in the 1Password app.

Generally because where /opt/local/bin sits in $PATH, one can’t even meaningfully sudo ln /opt/local/bin/op /usr/local/bin/op in order to resolve this. I have installed using the official package installer, so this isn’t going to be an issue for me moving forward, but this should be considered moving forward.

Change History (4)

comment:1 Changed 23 months ago by jmroot (Joshua Root)

Cc: newtonne added
Owner: set to herbygillot
Port: 1password-cli added
Status: newassigned

comment:2 Changed 22 months ago by 0x1DA117 (Daniel of Service)

Cc: 0x1DA117 added

comment:3 Changed 15 months ago by worthmine (Yuki Yoshida)

It's just my 2cents, I've tried to install op with ports but this ticket are not so helpful.


The latest op (2.13.1) could not be called from 1Password 8 for my Mac(Mac mini 2023 M2pro). So biometric unlock didn't work in my environment(with no touch ID keyboard, just using Apple Watch to unlock).

[ERROR] 2023/02/05 01:19:02 connecting to desktop app: You'll need to move the CLI to /usr/local/bin/op for the 1Password app integration to work. If you can't move it, you'll need to turn off Connect with 1Password CLI in the 1Password app.

It seems there are only 2 ways.

  • Turn off the check for "Connect with 1Password CLI" with no biometric unlock -> Installing op with ports are useful.
  • Turn on the check for "Connect with 1Password CLI" with biometric unlock -> Installing op with the official package is needed.

I don't know well about other environments with Touch ID.

comment:4 Changed 9 months ago by halostatue (Austin Ziegler)

This can be closed with core 1Password 8.10.12-2, where they are now allowing 1Password CLI (op) to connect even if it is not in /usr/bin/local.

https://releases.1password.com/mac/beta/#1password-for-mac-8.10.12-2

Note: See TracTickets for help on using tickets.