Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 3 Sep 2017 11:16:14 -0400
From: <>
To: <>
Subject: RE: KeePass2John

I just built the latest version of the bleeding tree and it has the
executable.   Maybe you should try that.

-----Original Message-----
From: Dhiru Kholia [] 
Sent: Saturday, September 02, 2017 11:40 PM
Subject: Re: [john-users] KeePass2John

On Sat, Sep 02, 2017 at 08:34:10PM +0200, Solar Designer wrote:
> On Wed, Aug 30, 2017 at 03:48:36PM -0400, Blambpudding wrote:
> > I need to get a hash from keePass but I am getting this error.
> > 
> > C:\john\run>keepass2john NewDatabase.kdbx
> >   File "C:\john\run\", line 33
> >     print "Unsupported file encryption!"
> >                                        ^
> > SyntaxError: Missing parentheses in call to 'print'
> What version of JtR is that?  There's no in the latest 
> bleeding-jumbo.  There's a keepass2john program written in C.  It does 
> also contain the "Unsupported file encryption!" message, which is now 
> printed for ciphers other than AES and Twofish.  Do you know what 
> cipher your NewDatabase.kdbx file uses?

The user seems to be using published by harmj0y.

This version of "keepass2john" seems to suffer from multiple problems,

1. It is known to be incomplete. It lacks some sanity checks and has no
support for keyfiles.

2. Only works with Python 2.x. The user runs into a SyntaxError with
presumably a different version of Python.

3. Correctness problem(s), according to a comment on the above blog link.

This third-party program cannot be recommended for general
use. It is known to be incomplete and possibly broken.

> Dhiru - perhaps we need to enhance our keepass2john.c to include the 
> numeric enc_flag in the "Unsupported file encryption!" message, so 
> we'd know from reports like the above which exact ciphers are in demand.

Sure, that sounds good. I have opened a pull request on GitHub,


This email has been checked for viruses by Avast antivirus software.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.