brettviren / python-keepass Goto Github PK
View Code? Open in Web Editor NEWPython interface to KeePass file format v3 (used in KeePass V1.x and KeePassX)
License: Other
Python interface to KeePass file format v3 (used in KeePass V1.x and KeePassX)
License: Other
Guys, has anyone registered this package on pypi.python.org?
As fas as I can tell, this program only allows me to view the database, and change the master password.
It's not very useful until it can actually add new entries and edit them.
Hi,
I want to distribute this along with https://github.com/tildaslash/RatticWeb. Could you add a LICENSE file to confirm that I'm allowed to do this? Preferably GPL2. ๐
Thanks,
Daniel Hall
Do you have any plans about kdbx support?
Hi guys, first of all great work on this project. I know it's not been worked on for a little while but it's the only module like it that I have found.
When I open my example blank database I created with the latest KeePass program I get the below error:
./keepassc.py open blank.kdbx
Traceback (most recent call last):
File "./keepassc.py", line 16, in <module>
cliobj()
File "./python/keepass/cli.py", line 86, in __call__
meth(cmdopts)
File "./python/keepass/cli.py", line 151, in _open
self.db = kpdb.Database(files[0],opts.masterkey)
File "./python/keepass/kpdb.py", line 36, in __init__
self.read(filename)
File "./python/keepass/kpdb.py", line 50, in read
self.header = DBHDR(headbuf)
File "./python/keepass/header.py", line 79, in __init__
if buf: self.decode(buf)
File "./python/keepass/header.py", line 130, in decode
raise IOError,msg
IOError: Bad sigs:
2594363651 3041655653
2594363651 3041655655
I presume the sigs that need to be changed are in the header.py file but I was kind of hoping for a plug and play solution so I'm not sure what needs to be done. Any help would be greatly appreciated.
Hi. Does this code work on Windows?
I'm attempting to run it on:
I get the following stack trace:
Traceback (most recent call last):
File "keepassc.py", line 10, in
cliobj()
File "./python\keepass\cli.py", line 78, in call
meth(cmdopts)
File "./python\keepass\cli.py", line 143, in _open
self.db = kpdb.Database(files[0],opts.masterkey)
File "./python\keepass\kpdb.py", line 29, in init
self.read(filename)
File "./python\keepass\kpdb.py", line 55, in read
self.header.encryption_iv)
File "./python\keepass\kpdb.py", line 99, in decrypt_payload
payload = self.decrypt_payload_aes_cbc(payload, finalkey, iv)
File "./python\keepass\kpdb.py", line 116, in decrypt_payload_aes_cbc
payload = cipher.decrypt(payload)
File "C:\Python27\lib\site-packages\Crypto\Cipher\blockalgo.py", line 295, in decrypt
return self._cipher.decrypt(ciphertext)
ValueError: Input strings must be a multiple of 16 in length
I get an error while trying to run keepassc.py
keepassc.py -h
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/keepassc.py", line 12, in <module>
cliobj = cli.Cli(sys.argv[1:])
NameError: name 'sys' is not defined
looks like it needs an import sys
Hi,
I would like to use this module in my code, but i create project under LGPL v3.
So, may i change license in my fork?
Best regards,
Filipp Frizzy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.