I have already Installed KeePass2 and also installed both Add-ons Kee. But I don't know how to integrate it.
How can I accomplish this?
26 Answers
Ubuntu 14.04, 15.10 / Linux Mint 17
First, you neither need PassIFox nor the extra PPA describe by @Faisal Haq Salafi as mono-complete and keepass2 are already available in the repository.
Installation
- Download & Install KeeFox add-ons
install
keepass2andmonoCLI compiler and system manager library:sudo apt-get install keepass2 mono-dmcs libmono-system-management4.0-cil libmono-system-numerics4.0-cil- upvote Faisal Haq Salafi for answer basis;
- upvote Simounet for narrowing down the package list (6Mo vs. 125Mo with
mono-complete);
Configuration
KeePass plugin location:
/usr/lib/keepass2/pluginsKeefox
- KeePass installation location:
/usr/lib/keepass2 - Mono executable location:
/usr/bin/mono
- KeePass installation location:
KeePassRPC plugin
# create a plugins sub-directory in keepass2 directory
sudo sh -c 'mkdir /usr/lib/keepass2/plugins'
# copy the keefox plugin into it
sudo ln --force --no-dereference --symbolic $HOME/.mozilla/firefox/*.default/extensions/keefox@ /usr/lib/keepass2/plugins/Restart
Quit and restart both:
- Keepass2, then unlock your vault;
- Firefox, check keefox icon for information
Ubuntu > 18.04 - 20.04
Install KeyPass2:
Press Alt+Ctrl+T to start terminal and run following commands one by one.
sudo apt-add-repository ppa:jtaylor/keepass sudo apt-get update sudo apt-get install keepass2 mono-complete
Open Firefox, install Kee from Add-on
Tools>Add-ons
Search for Kee and install it.
Open as Administrator (Access), skip if you have it, if not follow the step.
sudo apt install nautilus-admin nautilus -q
Download KeePassRPC plugins
KeePassRPC.plgx
Right click plugins (/usr/lib/keepass2/plugins) folder select
"Open as Administrator"
Copy Paste the latest version of KeePassRPC into the plugins folder
/usr/lib/keepass2/plugins
You're all done!
[Edited on 04/29/2016]
Since the 1.6.0 version of KeeFox, this trick is not working. New libs are required. At the moment, I found libmono2.0-cil but there is more. I posted a topic on the the KeeFox forum.
[Original post]
KeeFox don't need everything from mono, so it's useless to install mono-complete. mono-dmcs and libmono-system-management4.0-cil must be enough. So, this command must do the trick:
sudo apt-get install keepass2 mono-dmcs libmono-system-management4.0-cil
With this method, you'll spare more than 120Mo and a bunch of useless lib to keep up to date. I get this requirement from the KeeFox GitHub wiki:
3Ubuntu 16.04
If You have KeePass 2 installed, then there is a convenient way to keep everything up to date and working.
If you do not know what PPA-s are, please do read this: Are PPAs safe to add to my system and what are some "red flags" to watch out for?
Install
NOTE: You may need to undo the manual installment on KeeFox!
Add a ppa, and install KeeFox from there:
sudo add-apt-repository ppa:dlech/keepass2-plugins
sudo apt update
sudo apt install xul-ext-keefoxThis will also install the RPC plugin (keepass2-plugin-rpc) as its dependency.
Configure
as descibed by @Édouard-lopez
- Keefox
- KeePass installation location:
/usr/lib/keepass2 - Mono executable location:
/usr/bin/mono
- KeePass installation location:
Benefits:
- No need to manually copy the
KeePassRPC.plgxfile - Contains the mono libraries needed (and keeps them up to date)
- Other plugins are also available (that help integrate keepass2 into ubuntu, eg
keepass2-plugin-application-indicator)
(check for older versions needed!)
Edit
- Installing
xul-ext-keefoxinstead ofkeepass2-plugin-rpcensures version compatibility
For Ubuntu 18.04From the Ubuntu Software search and install KeePassXcKeePassXC
In FireFox, in Add-ons (shortcut Ctrl + Shift + A) search for KeePassXC-Browser Add to Firefox.
Open KeePassXC and open your KeePass database, then go to
Tools -> Settings -> Browser Integration KeePassXC Settings
Make Sure you check
- Enable KeePassXC browser integration
- FireFox option is seleced in the Enable integration for these browsers
Then in FireFox click on the newly added KeePassXC-Browser button and then in the Connect button A new KeePassXC: New key association request window opens, type in the name of your database and Save and allow access.
That's it, KeePassXC is now integrated.
1Here is a discussion of KeePass with plugins on Ubuntu and either browser integration in general and that is more current: "KeePass and Ubuntu 20.04 Setup (with Chrome, Firefox)?" KeePass and Ubuntu 20.04 Setup (with Chrome, Firefox)?