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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI 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?
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.
install keepass2
and mono
CLI compiler and system manager library:
sudo apt-get install keepass2 mono-dmcs libmono-system-management4.0-cil libmono-system-numerics4.0-cil
mono-complete
);KeePass plugin location: /usr/lib/keepass2/plugins
Keefox
/usr/lib/keepass2
/usr/bin/mono
# 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/[email protected]/deps/KeePassRPC.plgx /usr/lib/keepass2/plugins/
Quit and restart both:
sudo ln -s $HOME/.mozilla/firefox/*.default/extensions/[email protected]/deps/KeePassRPC.plgx /usr/lib/keepass2/plugins/KeePassRPC.plgx
Oct 26, 2016 at 8:56
Install KeyPass2:
Press Alt+Ctrl+T to start terminal and run following commands one by one.
sudo add-apt-repository ppa:ubuntuhandbook1/keepass2 sudo apt-get update sudo apt-get install keepass2 mono-complete xdotool
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: https://github.com/luckyrat/KeeFox/wiki/en-|-Running-KeeFox-under-Mono
mono-dmcs
and libmono-system-management4.0-cil
are available on 12.04. So it must be no problem with newer versions.
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?
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-keefox
This will also install the RPC plugin (keepass2-plugin-rpc
) as its dependency.
as descibed by @Édouard-lopez
/usr/lib/keepass2
/usr/bin/mono
KeePassRPC.plgx
filekeepass2-plugin-application-indicator
)xul-ext-keefox
instead of keepass2-plugin-rpc
ensures version compatibilityFor Ubuntu 18.04 From the Ubuntu Software search and install KeePassXc KeePassXC
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
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.
Here 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)?