Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files saved in KeeWeb cannot be opened in KeePass2 #203

Closed
ShaunMaher opened this issue Apr 20, 2016 · 7 comments
Closed

Files saved in KeeWeb cannot be opened in KeePass2 #203

ShaunMaher opened this issue Apr 20, 2016 · 7 comments
Assignees
Labels
› Kdbxweb Core library: https://github.com/keeweb/kdbxweb Type ◦ Bug Something isn't working
Milestone

Comments

@ShaunMaher
Copy link

Hi.

When I open an existing file, add an entry and save the file, users of KeePass 2 are unable to open the file. They receive the following error:
image001

This issue sounds very similar to #127 which is closed. Maybe the fix has not rolled out to the non-beta app yet. I'm using KeeWeb v1.1.2 (the electron client) on Ubuntu 14.04 (amd64).

Thanks again for your time.

Shaun.

@antelle
Copy link
Member

antelle commented Apr 20, 2016

#127 is about custom build errors, it's totally different.
I cannot reproduce this, please provide some info.

  • does it happen on Demo or New database?
  • if you are using a test db without your personal data, please attach it
  • can you open this file in keeweb?
  • please try to save in XML and see what's going on 933:19511 (most probably your DB contains some special character where we didn't expect it)

@antelle antelle added Type ◦ Bug Something isn't working 𐄂 Need Info Not enough information to resolve. Issues without answer will be closed. › Kdbxweb Core library: https://github.com/keeweb/kdbxweb and removed 𐄂 Need Info Not enough information to resolve. Issues without answer will be closed. labels Apr 20, 2016
@antelle antelle added this to the v1.1.x milestone Apr 20, 2016
@antelle
Copy link
Member

antelle commented Apr 20, 2016

I figured it out.
This happens when any of field, or title, or something else contains ]]>. Looks like XML encoder doesn't handle it correctly.

@ShaunMaher
Copy link
Author

Hi @antelle. Do you still need an example or do you have a good enough test case?

@antelle
Copy link
Member

antelle commented Apr 20, 2016

No, I don't need an example, the case is clear to me and repeatable. The fix will be made today or tomorrow.

@ShaunMaher
Copy link
Author

Your responsiveness is truly amazing. Thanks so much!

@antelle
Copy link
Member

antelle commented Apr 20, 2016

jindw/xmldom#164
I'll fork it and add a workaround today. Also browsers will use native xml serializer implementations instead of this.

@antelle antelle changed the title Files saved in KeeWeb cannot be opened in KeePass2 (like #127) Files saved in KeeWeb cannot be opened in KeePass2 Apr 20, 2016
@antelle antelle self-assigned this Apr 20, 2016
@antelle
Copy link
Member

antelle commented Apr 20, 2016

Fixed, uploaded the release, please update the app, now it should work as expected.

@antelle antelle closed this as completed Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
› Kdbxweb Core library: https://github.com/keeweb/kdbxweb Type ◦ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants