Install/Import KeePass and the Database

208 views
Skip to first unread message

Black Beard

unread,
Apr 26, 2018, 8:45:56 AM4/26/18
to qubes-users
Hey folks,

before i install Qubes OS i used Windows 10 with KeePass2 on it.

Now I want install KeePass2 and found some same password manager.

1. KeePassX and

2. KeePassXC

I think that number two is much more better, because It is constantly evolving ?

Is it easily to bind my database (kdbx) in it?

The installation process is click and install or work with the terminal?

About your feedbacks iam happy.

regards

Neelix

unread,
Apr 26, 2018, 8:56:05 AM4/26/18
to Black Beard, qubes-users
Hi,

KeePass2 is the original, and it's still maintained. KeepassX was a fork
focused on GNU/linux (because Keepass2 was primarily focused on Windows)
and KeepassXC was designed to be cross-platform.

You can install Keepass2 in your template and just import the .kdbx file
in your VM.
--
Regards,


Neelix
XMPP: n33...@creep.im
PGP: 289C 2E3B A021 FAE8 9529 A128 1528 9E56 B4BE 1DD3


signature.asc
0x15289E56B4BE1DD3.asc

Laszlo Zrubecz

unread,
Apr 26, 2018, 9:27:06 AM4/26/18
to Neelix, Black Beard, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/26/2018 02:55 PM, 'Neelix' via qubes-users wrote:
> Hi,
>
> KeePass2 is the original, and it's still maintained. KeepassX was a
> fork focused on GNU/linux (because Keepass2 was primarily focused
> on Windows) and KeepassXC was designed to be cross-platform.

Just to clarify:

* KeePass2 (https://keepass.info/) is designed for windows.
Hence it is open source it can be build on linux as well - using the
unloved mono. Many distribution using this method tho ship KeePass2.


* KeePassX (https://www.keepassx.org/) is not a fork of Keepass2.
It is a reimplementation, keeping it compatible with the keepass(2)
database. Originally it was written for linux, but then it became a
cross platform (Linux, Win, MAC) application.


* KeePassXC (https://keepassxc.org/) is a fork of KeePassX.
They forked it because... see their site.
(it is still compatible with the KeePass2 database)


And then decide what you would like to use ;)



I'm still using the KeePassX - because it is works.
It is small, it requires nothing fancy and bloated framaworks, and it
has no dangerous features like database sync, magic (auto) fill,
browser plugin, mobile version, and such.


- --
Laszlo Zrubecz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw39Thm3rBIO+xeXXGjNaC1SPN2QFAlrh05gACgkQGjNaC1SP
N2TLQg//XpEhsUaFfGVMOpW2SK0bmuiNHIkvkhQ1Fn/ovYmndVo6lOCIa/Cxsygh
bsIXP0f6E4NszdYnIRsGU+Ke9fF9L6klQVZ9N5oAcTCkgd2Pjoo4F9MtgpOqfjTN
3DsWTjQS62zkPyJ5tgeDEZvxghO+WAMaCsGQ9VZMpRQZILsChfv5Lsu/03moIzX7
GRhFnLcG79NSH8mvxr5cSiBOXmsUVh2SZCofVhF1TeMt/5cwd3/FbbDIJYVq1/H0
KZnAdt6A5c0Z2lQRWs7YfoB2CzxS6i2ZxrzNR0o5gDGGjocuW3307e7SSszoQz4v
pI6C4mULmvJ/4O6E7418F/z3/q6SI2joq4Q+kVHu68mylyqJkikPP0n6oSaHJRUe
9t0kAs7BHmBrdpb/xoQUb9K0edqhQkI+o8WRlFbot4wLhX2yqTBNWhgmKlniClGQ
AfFJZaWH4vlFUUPSwz/Z7ZSBpfTT6TKFT6ozjSNQFyyVkhgTC7K1XrlAM4OxwSNf
kyEYpBXiYSdyPLwgp60W3CH+89XymOyM2NjgzPxnBzCJz8dznq40uRFZtI6bqPw8
l/yvsCCButcmlX5LlUUh4O4a8DhzTdFam2HGzKjcxffb016xlcVN/u83WrQcjajR
mVfftT2DMhTUBIZq4o8iSmnn17jPw2HYMvNmgqNR4Qqd8xuofp0=
=2g6b
-----END PGP SIGNATURE-----

max.mi...@gmail.com

unread,
Apr 26, 2018, 10:00:38 AM4/26/18
to qubes-users

Very easy:

I've tried to describe different scenarios here:

https://www.militant.dk/2018/04/17/keepassxc-on-qubes/

Sincerely
Max

Black Beard

unread,
May 14, 2018, 10:28:25 AM5/14/18
to qubes-users
Hey guys,

thanks for your comments and your helpful feedbacks.

Iam actually a new Linux user and i dont want to make some mistake about the installation.

I want install KeepassX and i found on the mainsite the installation package(tarball 2.0.3).

Is this the correct tutorial?

" https://www.keepassx.org/howto/setup/inst_source_tar "

About your messages i would be very happy again.

regards


awokd

unread,
May 14, 2018, 11:38:03 AM5/14/18
to Black Beard, qubes-users
Are you using Qubes 4? Both Debian and Fedora templates come with KeepassX
pre-installed.

Black Beard

unread,
May 14, 2018, 1:32:34 PM5/14/18
to qubes-users
Hello awokd,


I'm embarrassed but i must ask and know it. Sorry, when i must ask you this.

I heard many about templates what exactly are templates under Linux and what they do?

Yes, i use Qubes 4 and i was searching the tool under the application finder, but found nothing.

regards and thx for all

Black Beard

unread,
May 14, 2018, 1:34:09 PM5/14/18
to qubes-users
Hey,

how install KeepassX on the Debian or Fedora templates?

thx guys

awokd

unread,
May 14, 2018, 3:11:40 PM5/14/18
to Black Beard, qubes-users
No problem! Templates are a Qubes concept, not Linux in general. Check out
this document: https://www.qubes-os.org/doc/software-update-vm/. This one
too; it's a bit more technical, but examine the diagram in particular:
https://www.qubes-os.org/doc/template-implementation/.

Did you deploy the pre-made AppVMs, like work, vault, etc.? If so, go to
Qube Settings on your Vault AppVM, then the Applications tab, then move
KeepassX from the left side to the right and hit OK. That should be all
you need to do to have access to the KeepassX application from the "Q"
menu -> Vault -> KeepassX.

Next, find your KeepassX database (unless you are starting from a new,
blank one), qvm-copy it to your Vault VM, then use KeepassX to open it
directly.

Black Beard

unread,
May 15, 2018, 12:27:14 PM5/15/18
to qubes-users
Hey,

i install KeepassX successfully.

On my external HDD i have the database on it. Now i played a little bit with the AppVm.

On "Q" Service:sys-usb he find my external hdd.

On "Q" Domain:Vault i install KeePassX before. When i try to put my database in the file directory home-user-Downlads and try opened with Keepassx he cant find the file(The file home lay on my Desktop).On this AppVm i become a warning message if i try to put my USB on it.

On "Q" Service:sys-usb i install KeepassX again try to bind the database on it and it works, perfectly.

I understand now how that works, but i dont know is it the correct way???

I hope i good write the probleme/question?! :)

regards

js...@bitmessage.ch

unread,
May 15, 2018, 6:12:17 PM5/15/18
to qubes...@googlegroups.com
Black Beard:
Hi,

Did you copy the file from your usb vm to the vault vm? In qubes there's
a special way to copy files from one vm to another (the vms are kept
separate for security reasons).

Open the file manager in your usb vm, right click on the database file,
and select copy to another vm, and put in the name of the vm you want to
copy it to.

Once the file's been copied it'll be in the QubesIncoming folder in the
destination vm's home folder.

See this doc page:

https://www.qubes-os.org/doc/copying-files/

There's also a video on the qubes website that shows how to use alot of
qubes features:

https://www.qubes-os.org/video-tours/

It's for an older version but it's still really helpful.

--
Jackie

Black Beard

unread,
May 16, 2018, 7:54:13 AM5/16/18
to qubes-users
Hey guys,

i install KeepassX on the "Q" Domain Vault and copied the database to
"Q" Domain:personal.

Yes, the database is in the folder QubesIncoming but i cant find the base with KeepassX.

Oh, Oh i must learn many....... :)

Black Beard

unread,
May 16, 2018, 10:34:54 AM5/16/18
to qubes-users
Hey again,

i instll KeepassX on the Vm "Q" work and put the database in the same Vm. All works perfectly. But if i try to open a website with the autotype function nothing happend.

Before i type crtl+k and under windows10 all works without any problems. If i try the same methode under Qubes it not work. I click in the field(username) and on KeePassX with right click perform autotype. Nothing happend.

If someone knows why?

regards

js...@bitmessage.ch

unread,
May 16, 2018, 4:21:33 PM5/16/18
to qubes...@googlegroups.com
Black Beard:
Oh, the database file has to be in the same vm/domain you're running
keepassx on. So in this case copy the database file to the vault domain,
then run keepassx in vault and it should see it.

--
Jackie

js...@bitmessage.ch

unread,
May 16, 2018, 4:36:48 PM5/16/18
to qubes...@googlegroups.com
Black Beard:
The autotype thing doesn't really work in qubes because of the domain
separation. When you have keepassx open in say vault domain, and then do
autotype, it just copies the username/password into vault domain
clipboard and then pastes it (also into vault domain), even though your
web browser is probably (and should be) running in a different domain.

It's a good idea to keep a domain/vm dedicated to keepassx, for security
of all your passwords. The vault domain is good for this. It's a bit
more of a pain to copy usernames/passwords from keepassx to your web
browser or other application in another domain (in a regular linux not
using virtualization you can just use autotype key) but it's just a
convenience/security tradeoff.

So, say you have your keepassx database opened in vault domain, and your
web browser on a website in work domain, and you want to log into the
website. Here are the steps.

1. click on the entry in vault->keepassx
2. ctrl+b to copy username into vault domain clipboard
3. ctrl+shift+c to copy username from vault domain clipboard to dom0
clipboard
4. click into work->firefox username field
5. ctrl+shift+v to paste username from dom0 clipboard to work domain
clipboard
6. ctrl+v to paste username from work domain clipboard to firefox
username field
7. click back on the entry in vault->keepassx
8. ctrl+c to copy password into vault domain clipboard
9. ctrl+shift+c to copy password from vault domain clipboard to dom0
clipboard
10. click into work->firefox password field
11. ctrl+shift+v to paste password from dom0 clipboard to work domain
clipboard
12. ctrl+v to paste password from work domain clipboard to firefox
password field
13. then you can log in

This is kinda a pain and it looks long but once you get used to it it
only takes a few seconds really. And there's always a tradeoff between
convenience and security (qubes doesn't normally allow applications to
copy/paste data between domains for security reasons).

There may be a script that does the inter-vm copy/paste automatically?
Not sure about that, but still this doesn't take very long once you get
used to it.

See qubes doc for copy/paste between domains:

https://www.qubes-os.org/doc/copy-paste/

--
Jackie

Reply all
Reply to author
Forward
0 new messages