LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2023, 10:54 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Rep: Reputation: 176Reputation: 176
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?
 
Old 02-04-2023, 03:59 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
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.

Last edited by beachboy2; 02-07-2023 at 03:10 AM.
 
1 members found this post helpful.
Old 02-04-2023, 11:19 PM   #3
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by beachboy2 View Post
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?
 
Old 02-05-2023, 02:40 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Hi Gregg,

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

Yes, do give KeyPassXC a go.

Good luck.
 
Old 02-05-2023, 06:15 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by beachboy2 View Post
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.
 
Old 02-05-2023, 07:56 PM   #6
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Anybody using KeePass2? Maybe it just doesn't work right (in Xubuntu at least)?
 
Old 02-05-2023, 11:47 PM   #7
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
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.
 
1 members found this post helpful.
Old 02-06-2023, 12:32 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
You need to install/configure a plugin in firefox. Actually I use KeePassXC too, but I think it is quite similar with KeePass2.
 
1 members found this post helpful.
Old 02-06-2023, 12:52 PM   #9
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by 1nuxg33k View Post
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.
 
Old 02-06-2023, 01:01 PM   #10
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by pan64 View Post
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.
Attached Thumbnails
Click image for larger version

Name:	Keepass.png
Views:	5
Size:	82.1 KB
ID:	40416  
 
1 members found this post helpful.
Old 02-06-2023, 01:11 PM   #11
rclark
Member
 
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 482

Rep: Reputation: 179Reputation: 179
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.

Last edited by rclark; 02-06-2023 at 01:29 PM.
 
1 members found this post helpful.
Old 02-06-2023, 01:24 PM   #12
maw_walker
Member
 
Registered: Jul 2021
Posts: 119

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 02-06-2023, 04:32 PM   #13
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
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

Last edited by beachboy2; 02-06-2023 at 04:37 PM.
 
1 members found this post helpful.
Old 02-06-2023, 08:18 PM   #14
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by beachboy2 View Post
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.
Attached Thumbnails
Click image for larger version

Name:	Selection_014.png
Views:	6
Size:	21.4 KB
ID:	40419  
 
Old 02-07-2023, 12:03 AM   #15
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
Quote:
Originally Posted by Gregg Bell View Post
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).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I upgrade KeePass2 to the latest version? Gregg Bell Linux - Software 4 01-25-2020 05:39 PM
[SOLVED] Keepass2 or KeepassXC? lisamint Linux - Software 13 11-17-2019 02:48 AM
[SOLVED] how to access my KeePass2 on a Windows computer? Gregg Bell Linux - Newbie 2 02-13-2017 02:47 PM
KeePass2 inactivity problem andyvk Linux - Software 3 12-01-2014 06:47 PM
LXer: Need A Password Manager? Install KeePass2 In Ubuntu Natty LXer Syndicated Linux News 1 07-02-2011 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration