Fail to integrate browser extensions with 1Password app on Ubuntu

goatmonstergoatmonster
Community Member
edited June 19 in 1Password in the Browser

Hello!

My desktop app is running on Ubuntu, and I have tried the browser extensions running in Brave, Firefox and Chrome.

At a clean state of the browser, after the extension is installed, I'm instructed to type in the secret key and the master key. The extension works as a stand-alone password manager and it's totally independent from the desktop app - when the desktop app was unlocked, the browser extension is still locked. It gets pretty annoying when I have to type the master password every time I open the browser, even if the 1pwd desktop app is unlocked.

I tried reinstalling the browsers and removing and re-adding the extension. I enabled the 'Integrate with 1Password app' setting in both the extension and the desktop app.

After that I attempted all steps in this thread: [Linux + Brave] Integration with 1Password App not working properly
but it didn't work.

I have also tried switching to the old 1Password classic extension which redirects me to a onepassword4://activate/Chrome url and it's not supported by the desktop app and produces the following error with xdg-open:

$ xdg-open 'onepassword4://activate/Chrome'
gio: onepassword4://activate/Chrome: The specified location is not supported

So I changed back to the latest versions:

OS: 20.04.1-Ubuntu

Extension: Version 2.3.5 (latest)

Desktop app: 1Password for Linux 8.7.1 (latest)

All browsers are at the latest versions as well.

Desktop app settings:

Extension settings:

The extension's log, same for all browsers:

21:16:05.617 background.js:2 1Password 2.3.5 has been installed on Sat Jun 18 2022 21:16:05 GMT-0400 (Eastern Daylight Time).
21:16:05.636 background.js:2 πŸ‘‹ Initializing 1Password
21:16:05.637 background.js:2 channel: stable
version: 2.3.5
build: 20213 (102.0.5005.115)
browser: Brave (102.0.5005.115)
os: Linux ()
21:16:05.762 1.js:1 WASM: Initializing.  Log Level: Info
21:16:05.783 background.js:2 Upgrading database from version 0 to 11. Proxy
21:16:05.794 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:05.797 background.js:2 πŸ‘ Finished initializing 1Password
21:16:05.797 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:16:05.798 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.
21:16:05.798 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:05.798 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:37:17.249 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
21:37:17.249 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
21:37:17.249 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
21:37:17.249 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
21:37:17.249 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
21:16:05.801 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.
21:16:05.811 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:05.811 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:16:05.824 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.
21:16:05.824 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:05.824 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:16:05.831 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.
21:16:09.453 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:09.453 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:16:09.458 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.
21:16:09.458 background.js:2 πŸ’« Looking for desktop app com.1password.1password
21:16:09.458 background.js:2 πŸ“€ Sending <NmRequestAccounts> message to native core <REDACTED>
21:16:09.464 background.js:2 Desktop app port disconnected. Error: Specified native messaging host not found.

The 1pwd desktop app was installed with the apt package manager following the official installation documentation. It's not running in a sandbox environment.

The desktop application was installed following these steps:

  1. Add the key for the 1Password apt repository:

     curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg
    
    
  2. Add the 1Password apt repository:

     echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list
    
    
  3. Add the debsig-verify policy:

     sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
     curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
     sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
     curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
    
    
  4. Install 1Password:

     sudo apt update && sudo apt install 1password
    
    

Any help will be appreciated!


1Password Version: 8.7.1
Extension Version: 2.3.5
OS Version: 20.04.1-Ubuntu

Comments

  • ali.hazimeali.hazime

    Team Member

    Hey @goatmonster, thanks for reaching out and for your detailed post. I've located the email you sent in and will get a reply out to you there. Thanks!

    Ali

    ref: GJY-54652-919

  • goatmonstergoatmonster
    Community Member
    edited June 24

    RESOLVED: It turns out that my Chrome is installed with Flatpak (my bad!) by checking with the command flatpak list. After reinstalling with the deb package from the official website, 1Password now functions as expected.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file