unsupportedClientType printed by op cli
I have upgraded 1password on my Gentoo Linux. After upgrade the op cli command does not work. The command op vault list prints the error
[ERROR] 2023/09/01 17:37:08 response: unsupportedClientType
I have installed 1password for Linux 8.10.13 and 1password-cli 2.20.0.
I set the group and file mode bits for required files:
/opt/1Password # ls -l
total 239448
-rwxr-xr-x 1 root root 166345296 Aug 24 17:22 1password
-rwxr-sr-x 1 root onepassword 9955344 Aug 24 17:22 1Password-BrowserSupport
-rwxr-xr-x 1 root root 3065872 Aug 24 17:22 1Password-HIDHelper
-rwsr-sr-x 1 root onepassword 3722896 Aug 24 17:22 1Password-KeyringHelper
-rwxr-xr-x 1 root root 11548232 Aug 24 17:22 1Password-LastPass-Exporter
-rwxr-xr-x 1 root root 4472 Aug 24 17:22 after-install.sh
-rwxr-xr-x 1 root root 751 Aug 24 17:22 after-remove.sh
-rw-r--r-- 1 root root 136579 Aug 24 17:22 chrome_100_percent.pak
-rw-r--r-- 1 root root 197691 Aug 24 17:22 chrome_200_percent.pak
-rwxr-xr-x 1 root root 1246464 Aug 24 17:22 chrome_crashpad_handler
-rwsr-xr-x 1 root root 53840 Aug 24 17:22 chrome-sandbox
-rw-r--r-- 1 root root 1508 Aug 24 17:22 com.1password.1Password.policy.tpl
-rw-r--r-- 1 root root 10544880 Aug 24 17:22 icudtl.dat
-rw-r--r-- 1 root root 1184 Aug 24 17:22 install_biometrics_policy.sh
-rwxr-xr-x 1 root root 251064 Aug 24 17:22 libEGL.so
-rwxr-xr-x 1 root root 2877488 Aug 24 17:22 libffmpeg.so
-rwxr-xr-x 1 root root 6437608 Aug 24 17:22 libGLESv2.so
-rwxr-xr-x 1 root root 4565640 Aug 24 17:22 libvk_swiftshader.so
-rwxr-xr-x 1 root root 6396248 Aug 24 17:22 libvulkan.so.1
-rw-r--r-- 1 root root 1096 Aug 24 17:22 LICENSE.electron.txt
-rw-r--r-- 1 root root 8247912 Aug 24 17:22 LICENSES.chromium.html
drwxr-xr-x 2 root root 4096 Sep 1 17:34 locales
-rwxr-xr-x 1 root root 3462408 Aug 24 17:22 op-ssh-sign
drwxr-xr-x 4 root root 4096 Sep 1 17:34 resources
-rw-r--r-- 1 root root 5214565 Aug 24 17:22 resources.pak
-rw-r--r-- 1 root root 259202 Aug 24 17:22 snapshot_blob.bin
-rw-r--r-- 1 root root 578034 Aug 24 17:22 v8_context_snapshot.bin
-rw-r--r-- 1 root root 107 Aug 24 17:22 vk_swiftshader_icd.json
```
ls -l /usr/bin/op
-rwxr-sr-x 1 root onepassword 22716416 Sep 1 17:33 /usr/bin/op
```
1password desktop app is running and unlocked. When I run op command, then I get error message. For example:
$ op --debug vault list
5:37PM | DEBUG | Session delegation enabled
5:37PM | DEBUG | NM request: NmRequestAccounts
5:37PM | DEBUG | NM response: Success
5:37PM | DEBUG | NM request: NmRequestAccounts
5:37PM | DEBUG | NM response: Success
5:37PM | DEBUG | account not signed in, filter= latest_signin_user=
5:37PM | DEBUG | NM request: NmRequestAccounts
5:37PM | DEBUG | NM response: Success
5:37PM | DEBUG | NM request: NmRequestAuthorization
5:37PM | DEBUG | NM response: Success
[ERROR] 2023/09/01 17:37:08 response: unsupportedClientType
When I tried to downgrade back to previous versions (1password 8.10.7 and cli 2.14.0), then the problem persists (but before upgrade this versions worked for me). So it seems I missed something during the upgrade but I have no idea what is it.
Do you have an idea why op cli command does work with installed desktop 1password
app? Any hint is appreciated.
1Password Version: 8.10.13
Extension Version: Not Provided
OS Version: Gentoo Linux
Browser: Not Provided
