kppy icon indicating copy to clipboard operation
kppy copied to clipboard

TwoFish support in kdb v1 files

Open mooow opened this issue 10 years ago • 3 comments

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

mooow avatar Aug 03 '14 22:08 mooow

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.

raymontag avatar Aug 04 '14 07:08 raymontag

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 [email protected] 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.

mitchellrj avatar Aug 04 '14 08:08 mitchellrj

Thank you! I'll evaluate it.

raymontag avatar Aug 04 '14 09:08 raymontag