Buttercup-desktop: Importing from KeePass archive fails

Created on 9 Mar 2017  路  8Comments  路  Source: buttercup/buttercup-desktop

Hello, been trying to use buttercup but the import keeps on failing with my keepass file (generated with KeepasX v2.0.3 for OSX.)

here's the message I get:
Importing from KeePass archive failed: Cannot read property 'getHistory' of undefined

screen shot 2017-03-09 at 22 51 46

Got the error with the new v0.10.0 and the previous release.
I tried debugging with the source code but never got very far, the file seems to be properly opened and decrypted, this happens right after, perhaps it's something known? I didn't see any reference to it in the open issues.

High Available Bug

All 8 comments

Thanks for filing an issue.

As we need to reproduce this, could you please try creating a new archive with your version of keepass, add some passwords to it (fake data) and see if that imports?

If it fails as well, you could send us that file and it's password for us to debug with. If it works, there may be some complication with your archive's data and the keepass library we use (we didn't write the keepass parsing logic). On that note, you could try using the library to see if the problem is on the Buttercup side or the keepass side.

Ok, a quick test with a fresh database with 3 dummy passwords worked, I'm going to perform some more tests with the buttercup source and come back with more details.

Ok, I've found the problem, this is a problem with passwords with line breaks, the parsing breaks here when calling entry.setProperty(friendlyKey, actualValue);

I'll close this issue and reopen a new one in the buttercup-importer repo.

This is still occurring with 0.10.1:

image

@perry-mitchell lol I didn't do that :D
p.s. linux version looks so good haha

Finally fixed in 0.11.1. Closing this now.

Yes indeed!! great success, thanks a lot @sallar and @perry-mitchell 馃鉁岋笍

Thanks for the patience @vectorsize !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zrzro picture zrzro  路  4Comments

jokeyrhyme picture jokeyrhyme  路  6Comments

fmommeja picture fmommeja  路  6Comments

Ravenheart picture Ravenheart  路  6Comments

frigaut picture frigaut  路  6Comments