Fail to integrate browser extensions with 1Password app on Ubuntu
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:
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
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
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
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
-
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
0 -
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.0 -
Hi @goatmonster:
I'm glad to hear you were able to get desktop integration working again! 😀 Feel free to get in touch if there's anything else we can help you with.
Jack
0