Cannot sign in through terminal using latest 1Password 8 (old CLI version)
sroebert opened this issue · 1 comments
sroebert commented
Diagnostic
Workflow version
2022.15
Alfred version
5.0.1
macOS version
12.4
Architecture
arm64
Preferences
Default
1Password version
8.8.0
op version
In Workflow: 2.2.0
In /usr/local: NOT installed
Biometric unlock
NOT enabled
Custom terminal feature
NOT enabled
Launchd job
Loaded: - 0 com.alfredapp.1password
Installed
Debugger output
[11:49:18.574] Logging Started...
[11:49:21.848] 1Password[Script Filter] Queuing argument '(null)'
[11:49:21.854] 1Password[Script Filter] Script with argv '(null)' finished
[11:49:21.855] 1Password[Script Filter] { "items": [{
"title": "Sign in and update items",
"subtitle": "Your terminal will open with instructions",
"arg": "update_items"
}] }
[11:49:22.888] 1Password[Script Filter] Processing complete
[11:49:22.890] 1Password[Script Filter] Passing output 'update_items' to Conditional
[11:49:22.890] 1Password[Conditional] Processing complete
[11:49:22.891] 1Password[Conditional] Passing output 'update_items' to Run Script
[11:49:22.896] 1Password[Run Script] Processing complete
[11:49:22.897] 1Password[Run Script] Passing output '/var/folders/h1/1_x0t9n94fv410rbnwqs25nh0000gn/T/tmp.FdXjRfnv' to Terminal Command
[11:49:23.343] 1Password[Terminal Command] Processing complete
[11:49:23.349] 1Password[Terminal Command] Passing output '/var/folders/h1/1_x0t9n94fv410rbnwqs25nh0000gn/T/tmp.FdXjRfnv' to Run Script
Terminal output
[ERROR] 2022/08/15 11:49:24 connecting to desktop app: not connected
./1password.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
[ERROR] 2022/08/15 11:49:24 connecting to desktop app: not connected
./1password.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
/Users/steven/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6EB18241-02EB-4CA5-8458-6610D63BCD0C/signin.zsh:16: command not found: ''
------------------------- IMPORTANT -------------------------
You have an old version of the 1Password command-line tool.
Install the latest version from:
https://1password.com/downloads/command-line/
Then run the Workflow again.
You may close the terminal.
-------------------------------------------------------------
More details
I have the "Biometric unlock for 1Password CLI" enabled in the 1Password settings. but still it keeps giving me the error the CLI version is too old.
vitorgalvao commented
To use the biometric login, you need to install the command-line tool manually because it needs to be in a specific install location to work. That's a limitation imposed by 1Password. We're in talks to see if that might change.