1Password extension unable to connect to desktop app on Linux

Derock
Derock
Community Member
edited January 10 in Linux
πŸ’« Looking for desktop app com.1password.1password background.js:2 
πŸ“€ Sending <NmRequestAccounts> message to native core <2411649616> background.js:2 
Received <BrowserVerificationFailed> from the native core background.js:2

Using Vivaldi (6.5.3206.50 (Stable channel) stable (64-bit)) on Arch Linux.
installed from the official package in the arch/extra repository.

1password is installed from the official AUR package

tried with both 1password running in background (1password --silent) and in the foreground.

update1:
Checked the 1password BrowserSupport logs and found,

INFO  2024-01-09T02:05:25.397 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/main.rs:237] Starting 1Password-BrowserSupport 8.10.23 production build no. 81023003.
INFO  2024-01-09T02:05:25.404 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/browser_verification/linux.rs:44] Verifying browser "/opt/vivaldi/vivaldi-bin"
ERROR 2024-01-09T02:05:25.408 main(ThreadId(1)) [1P:native-messaging/op-browser-support/src/main.rs:269] Browser support error: UnknownBrowser(/opt/vivaldi/vivaldi-bin), happened in: native-messaging/op-browser-support/src/browser_verification/linux.rs:103
    Additional error context: /opt/vivaldi/vivaldi-bin isn't a supported browser

I could've sworn vivaldi used to be a supported browser.

update2:
a workaround is to follow this script: https://gist.github.com/kiwimato/2459f68cc711235002e21b0e5868a7f4

Comments

  • FrankyO1P
    edited January 24

    Hi @Derock,

    Vivaldi is currently not on our supported list. However, like you discovered you can added it to the custom_allowed_browsers file.

    Here's how to do it for others who may run into this issue:

    1. Open a terminal, and run sudo mkdir /etc/1password (if you've done this already, you can skip it).
    2. Run cd /etc/1password.
    3. Run sudo nano custom_allowed_browsers.
    • Feel free to use your preferred text editor in place of nano
    1. Paste in the appropriate browser binary name - such as vivaldi-bin.
    2. Save the file - in Nano, this is done by Ctrl+x -> y -> Enter
    3. In terminal, run sudo chown root:root /etc/1password/custom_allowed_browsers && sudo chmod 755 /etc/1password/custom_allowed_browsers
    4. Run 1Password - it will read our new config file and make the appropriate connections.

    Franky

  • DenalB
    DenalB
    Community Member

    Thanks, @FrankyO1P ! Works like a charm. πŸ™‚

  • Hi @DenalB,

    I'm glad to hear the solution worked for you! πŸ™‚

    If there's ever anything more we can do, please be sure to contact us - we're always here to help.

    Franky

This discussion has been closed.