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

Op is in the "wrong" path #6

Open
xocasdashdash opened this issue Apr 5, 2023 · 5 comments
Open

Op is in the "wrong" path #6

xocasdashdash opened this issue Apr 5, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@xocasdashdash
Copy link

Describe the bug
op binary needs to be in /usr/loca/bin/op for the integration with 1password app to work
Steps to reproduce
install and try to read a value
Expected behavior
Maybe it should work. I honestly feel that some docs are what's needed.

@xocasdashdash xocasdashdash added the bug Something isn't working label Apr 5, 2023
@farkasmate
Copy link

Running on Ubuntu 22.04.2 LTS with op 2.19.0-beta.01 and 1Password for Linux 8.10.7 (81007041) when Connect with 1Password CLI is enabled in Settings/Developer the following is fixing the integration:

sudo chgrp onepassword-cli $(asdf which op)
sudo chmod g+s $(asdf which op)

See https://developer.1password.com/docs/cli/app-integration#turn-on-the-app-integration-and-sign-in-to-your-account


I believe this could be fixed in the install script.

@farkasmate
Copy link

@xocasdashdash after thinking about it it's likely only needed on Linux

I'm not sure about portability, but something like this could potentially help the users:
farkasmate@aa4d62c

@xocasdashdash
Copy link
Author

Yeah, my issue was with the Mac app. As the allowed paths are embedded into the app itself

@m-roberts
Copy link

I also experienced this issue on Mac. I had to switch to brew install --cask 1password/tap/1password-cli and removing the asdf shim for it to work.

@missingcharacter
Copy link
Contributor

Are any of you able to install version 2.21.0 in macos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants