Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
keepassx - questions
#1
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
Reply
#2
Is this something written in python?
Reply
#3
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
Reply
#4
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
There is also keepassxc under GNU gpl, written in C++.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020