1Password doesn't support Linux. But it comes with a very clever HTML page, saved just next to your 1Password keychain. It's called 1PasswordAnywhere.
By default, it's adviced to load that page via Dropbox web interface. But what it actually needs is just to host that directory in a plain webserver somewhere.
So what this Upstart script does, is to launch a Python SimpleHTTPServer
at startup, binding it to port 8888
(change
that if you want) and runs from your 1Password keychain in Dropbox (make sure that path is correct for you).
Also, I added the use of setuid
to ensure the service is run with low permissions.
Feel free to improve: I wrote this in like 10 minutes.
- Ensure your 1Password keychain is synchronized on Dropbox
- Install Dropbox for Linux
- Cut & paste the file above at
/etc/init/1password.conf
- Replace
YOUR_LOGIN_USERNAME
with the right value (and check the path to your 1Password keychain) - On terminal run:
$ initctl reload-configuration
$ start 1password
- In your browser of choice, go to
http://localhost:8888
The script above is written for Ubuntu Upstart, but it can surely be adapted to other distro easily. I leave it to you.