raymontag / kppy

A Python-module to provide an API to KeePass 1.x files commonly used by KeePassX.
http://raymontag.github.com/kppy
ISC License
28 stars 4 forks source link

TwoFish support in kdb v1 files #11

Open mooow opened 9 years ago

mooow commented 9 years ago

KeepassX supports the creation of databases encrypted with TwoFish. I am not able to open such a db with your program.

raymontag commented 9 years ago

That's right because kppy doesn't support TwoFish. This has two reasons: First, PyCrypto, the crypto library I use, doesn't support this algorithm. Second, I do not want to implement this myself in Python.

If you know a reliable library with Twofish support I'm open to suggestions.

mitchellrj commented 9 years ago

I've previously written a Pycrypto-style wrapper for Twofish using the keybase/python-twofish library. You are welcome to use it, the source is here:

https://github.com/mitchellrj/python-pgp/blob/master/pgp/cipher/twofish.py

On 4 August 2014 08:16, Karsten-Kai König notifications@github.com wrote:

That's right because kppy doesn't support TwoFish. This has two reasons: First, PyCrypto, the crypto library I use, doesn't support this algorithm. Second, I do not want to implement this myself in Python.

If you know a reliable library with Twofish support I'm open to suggestions.

— Reply to this email directly or view it on GitHub https://github.com/raymontag/kppy/issues/11#issuecomment-51024972.

raymontag commented 9 years ago

Thank you! I'll evaluate it.