LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   KeePass2 installed but can't access Firefox (only Chrome) (https://www.linuxquestions.org/questions/linux-software-2/keepass2-installed-but-cant-access-firefox-only-chrome-4175721656/)

Gregg Bell 02-03-2023 10:54 PM

KeePass2 installed but can't access Firefox (only Chrome)
 
I installed KeePass2 in the terminal with:

install KeePass2

which may or may not have been the correct method.

KeePass2 came up, accessed my data file, but it will not access the Firefox browser.

Any idea what to do?

beachboy2 02-04-2023 03:59 AM

Gregg,

You could try removing KeePass2:

Code:

sudo apt purge --autoremove keepass2
In Linux Mint I would then install Keepass2 via the Software Manager.

I don’t think Xubuntu has a Software Manager installed by default.

Have a look under All Applications > Software.

If Software is not listed then install it using:

Code:

sudo apt install gnome-software
NB I would also recommend using two factor authentication (2FA).

Two Factor Authentication:
http://www.geeksengine.com/article/keepass-2.html

Login to the KeePass2 application (i.e. to unlock the database) using a combination of 1. and 2. below:

1. Something only you know. Use a master password (this does not need to be terribly complicated. It just needs to be easily memorised, in this case by HAT (e.g. hex*alpha*tube*).

2. Something you only possess. Use a key-file such as an image (.jpg) file which is stored innocuously within one of many documents on a USB drive.
A copy of this file can be backed up to your computer amongst several thousand files.

The key-file can be used as a two factor authentication (2FA) for your KeePass2 database.

To open KeePass2, you normally only need a master password.

This is where the key-file comes into play. If someone steals your master password and password database, the database is still secure because the attacker also needs to steal your key-file in order to be able to unlock KeePass2.

Gregg Bell 02-04-2023 11:19 PM

Quote:

Originally Posted by beachboy2 (Post 6409058)
Gregg,

You could try removing KeePass2:

Code:

sudo apt-get purge --autoremove keepass2
In Linux Mint I would then install Keepass2 via the Software Manager.

I don’t think Xubuntu has a Software Manager installed by default.

Have a look under All Applications > Software.

If Software is not listed then install it using:

Code:

sudo apt install gnome-software
NB I would also recommend using two factor authentication (2FA).

Two Factor Authentication:
http://www.geeksengine.com/article/keepass-2.html

Login to the KeePass2 application (i.e. to unlock the database) using a combination of 1. and 2. below:

1. Something only you know. Use a master password (this does not need to be terribly complicated. It just needs to be easily memorised, in this case by HAT (e.g. hex*alpha*tube*).

2. Something you only possess. Use a key-file such as an image (.jpg) file which is stored innocuously within one of many documents on a USB drive.
A copy of this file can be backed up to your computer amongst several thousand files.

The key-file can be used as a two factor authentication (2FA) for your KeePass2 database.

To open KeePass2, you normally only need a master password.

This is where the key-file comes into play. If someone steals your master password and password database, the database is still secure because the attacker also needs to steal your key-file in order to be able to unlock KeePass2.

Hi beachboy2,

Thanks. I read an earlier post you contributed to about KeePass2 vs KeePassXC. I'd really much prefer to stay with KeePass2, but it is not in the Software Manager in Xubnuntu, and they say it's not being developed for three years. (I did notice however that it is checked as active in Synaptic Package Manager. After I installed it, that is.) I was thinking the version I installed might be malfunctioning because I didn't include the PPA (or something).

I like the idea of the key. I saw that it was available but, until you explained it, didn't know how it worked.

I downloaded KeePassXC to check it out. Looks okay. I see that it will use the same file as KeePass2. Maybe that would be a better way for me to go?

beachboy2 02-05-2023 02:40 AM

Hi Gregg,

I had totally forgotten that KP2 was no longer being developed. My apologies.

Yes, do give KeyPassXC a go.

Good luck.

Gregg Bell 02-05-2023 06:15 PM

Quote:

Originally Posted by beachboy2 (Post 6409228)
Hi Gregg,

I had totally forgotten that KP2 was no longer being developed. My apologies.

Yes, do give KeyPassXC a go.

Good luck.

Thanks beachboy2. I'm checking out KeePassXC. I'd still prefer to get KeePass2 working properly as I'm spending so much time on this clean install.

Gregg Bell 02-05-2023 07:56 PM

Anybody using KeePass2? Maybe it just doesn't work right (in Xubuntu at least)?

1nuxg33k 02-05-2023 11:47 PM

I use keepass on Debian and it works fine. Installed via apt but you can build from source. Version 2.53 was released in January.

pan64 02-06-2023 12:32 AM

You need to install/configure a plugin in firefox. Actually I use KeePassXC too, but I think it is quite similar with KeePass2.

Gregg Bell 02-06-2023 12:52 PM

Quote:

Originally Posted by 1nuxg33k (Post 6409407)
I use keepass on Debian and it works fine. Installed via apt but you can build from source. Version 2.53 was released in January.

Thanks. I uninstalled KeePass2, then installed it via Synaptic. Same problem. Won't go to Firefox.

Building from source is over my pay grade.

Gregg Bell 02-06-2023 01:01 PM

1 Attachment(s)
Quote:

Originally Posted by pan64 (Post 6409412)
You need to install/configure a plugin in firefox. Actually I use KeePassXC too, but I think it is quite similar with KeePass2.

Thanks. I never needed a plugin to use KeePass2 with Firefox before. Did something change? And which plugin would I want? (Screenshot is from Firefox plugins.)

I'm really thinking of just switching to KeePassXC. And yet I see KeePassXC has a browser plug-in too and yet on their faq page https://keepassxc.org/docs/#faq-general-plugins it says:

Q: Does KeePassXC support (KeePass2) plugins?
A:No, KeePassXC does not support plugins at the moment and probably never will. KeePassXC already provides many of the features that need third-party plugins in KeePass2 out of the box, so for most things you don't even need plugins, nor should you ever want them. Plugins are inherently dangerous.

I'm pretty confused.

rclark 02-06-2023 01:11 PM

What installed on my (K)Ubuntu 22.04 was KeyPassX . Never heard of KeyPassXC. Interesting.

I don't think integrating into web browser is a good idea either. Better to keep key store separate for security reasons.

maw_walker 02-06-2023 01:24 PM

Not sure if we are talking about browser plugins but if so, I agree they are inherently dangerous. Any browser plugin can read 100% of the traffic passing through your browser. If you trust the author of the browser plugin, fine but for password DBs, I still prefer copy paste from the DB into the form fields of whatever web site/application you are accessing.

beachboy2 02-06-2023 04:32 PM

Gregg,

KeePassXC is an open source, community fork of KeePassX.

The former is under active development, unlike the latter.

There are no plugins for KeePassXC itself, although there is an official plugin for Firefox called KeePassXC-Browser:
https://addons.mozilla.org/en-GB/fir...assxc-browser/

First try running KeePassXC without the browser plugin.

If you find that you must have it, then you could possibly add it to Firefox later.

Download KPXC from:
https://keepassxc.org/

Guide:
https://keepassxc.org/docs/KeePassXC...ngStarted.html

Gregg Bell 02-06-2023 08:18 PM

1 Attachment(s)
Quote:

Originally Posted by beachboy2 (Post 6409557)
Gregg,

KeePassXC is an open source, community fork of KeePassX.

The former is under active development, unlike the latter.

There are no plugins for KeePassXC itself, although there is an official plugin for Firefox called KeePassXC-Browser:
https://addons.mozilla.org/en-GB/fir...assxc-browser/

First try running KeePassXC without the browser plugin.

If you find that you must have it, then you could possibly add it to Firefox later.

Download KPXC from:
https://keepassxc.org/

Guide:
https://keepassxc.org/docs/KeePassXC...ngStarted.html

Thanks. I already installed KeePassXC from the Software Center. Should I uninstall it and get it from the screenshot? The one I circled.

pan64 02-07-2023 12:03 AM

Quote:

Originally Posted by Gregg Bell (Post 6409575)
Thanks. I already installed KeePassXC from the Software Center. Should I uninstall it and get it from the screenshot? The one I circled.

Usually you will get the latest from the official keepassxc site, but not from the official ubuntu repo. For me it was a problem, because a serious bug was fixed in the last/latest release. Use the ppa if the version from software center is ok for you.
About the plugin: it will be either automatically installed or asked during the install (because the browser should be connected to the software somehow).


All times are GMT -5. The time now is 11:39 PM.