Python Forum

Full Version: keepassx - questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i've been trying to understand how keepassx works

i've installed (keepassx
(mxlinux 18.2) and it runs fine

using synaptic i've obtained a list of all files thereby installed

i see that /usr/share/applications/keepassx.desktop if opened produces the main window

and /usr/lib/x86_64-linuxgnu/keepassx/libkeepassx-atotype-x11.so opens wxglade (which i have installed)

i have also wownloaded keepassx source files

keepassx is run with the command keepassx %f

all of the files from synaptic info - with the exception of the 2 abovementioned, are in the usr/share/keepassx/icons or /share translations or man or mime folders

which file actually runs keepassx fully?

i want to understand how this works so i can try modifying or using parts of keepassx to learn to create a similar simplified version

thanks
Is this something written in python?
at least some is written in python

Quote:KeePassX is a cross platform password manager. However, KeePassX is a desktop GUI application. That's where python-keepassx comes in. By using python-keepassx, you can access your passwords using a command line interface to KeePassX. You can also use the python library directly in your own python applications.

Python-keepassx: simple, command line interface to your passwords.

https://keepassx.readthedocs.io/en/lates...3zZGJvSyN4
python-keepass is separate library that can interact with via cli with keepass kdbx files. and it's OLD, like 5 years old.
There is pykeepass which looks actively maintained.

there are plenty of clients/ports for keepass. keepassx is just one of them and you can look at it's source code by downloading a tar or here: https://github.com/keepassx/keepassx
As you can see - it's written in C++
I guess a good starting point is to look at original keepass - https://keepass.info/ if you want to familiarize with the format and functionality. It's open source project, actively maintained a lot of clients and plugins
There is also keepassxc under GNU gpl, written in C++.