-
-
Notifications
You must be signed in to change notification settings - Fork 20
feat
: install zen as root binary and integrate with 1password desktop app
#19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat
: install zen as root binary and integrate with 1password desktop app
#19
Conversation
I've been using the install script for two months, and have re-tested it in a Fedora 41 Virtual Machine. I'll be testing the 1Password install script, so the PR should be ready soon. It'd be great if someone could test this out and check for possible issues. |
95fec4b
to
bc21502
Compare
I tested the entire process on a fresh Fedora 41 Virtual Machine, and it's working as expected. Here are the steps: Note If your system does not have
After this PR is merged, the urls wouldn't look this ugly. The above commands should work as:
Still not working?Check if Desktop Integration is enabled in 1Password Desktop App Settings. Go to 1Password App > Settings > Browser and enable the Connect with 1Password in the browser toggle. |
The script will fail on non-linux systems to avoid accidental execution on unsupported platforms
I guess the reason why 1Password doesn't work by default with the tarball installer is due to the following security reasons. The 1Password Support Page mentions the following:
I remember installing Zen using sneexy's copr repo a long time back, since Zen doesn't provide pre-compiled rpm packages, and 1Password integration was as simple as adding This doesn't seem to be the case here, when installed using the tarball installer, simply because you aren't using a package manager. Security-wise, the best solution obviously is to maintain packages for different package managers, as they verify the integrity of the package being installed and perform pre/post transaction scripts, but for now, I guess this PR is just a workaround. |
The Problem
While the 1Password Integration Fix guide does help for some, like when installed through the aur, it fails for the native tarball installation or the AppImage. This is a problem for users running other distros than Arch.
Solution
While I haven't discovered a solution for the AppImage, the native tarball install script installs Zen in the current user's
$HOME
directory. The 1Password Integration Fix guide would only work if Zen is installed at the root-level, and addzen
(instead ofzen-bin
) to the/etc/1password/custom_allowed_browsers
file.Changes
/usr/local/src/zen
.zen
to/etc/1password/custom_allowed_browsers
safely, with proper rollback if anything fails.Credits
Thanks to Kerren Ortlepp for his article on Running 1Password on Zen Browser.