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

Error while reading the database: Invalid number value #3505

Closed
wjjessen opened this issue Sep 4, 2019 · 3 comments
Closed

Error while reading the database: Invalid number value #3505

wjjessen opened this issue Sep 4, 2019 · 3 comments

Comments

@wjjessen
Copy link

wjjessen commented Sep 4, 2019

I have a KeePass 2 database that is stored on NextCloud and is accessed with KeePassXC on my MacBook. Using the NextCloud app KeeWeb (v1.8.2), I created a new record in the database. Now KeePassXC is unable to open the file, displaying the following in red when the password and key file are provided:

Error while reading the database: Invalid number value

Database format: KeePass 2
KeePass file version: 3.1
Database generator: KbdxWeb
Outer encryption: AES
Compressed: yes
Transform rounds: 600000
Inner encryption: Salsa20
Number of entries: 332

Although KeePassXC cannot open the database, MacPass (v0.7.9) and Strongbox (v1.11.0) both open it without issue. I can also open the kdbx file with KeeWeb on NextCloud.

Debug Info

KeePassXC - Version 2.4.3
Revision: 5d6ef0c

Qt 5.12.3
Debugging mode is disabled.

Operating system: macOS High Sierra (10.13)
CPU architecture: x86_64
Kernel: darwin 17.7.0

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
  • TouchID

Cryptographic libraries:
libgcrypt 1.8.4

@wjjessen wjjessen added the bug label Sep 4, 2019
@droidmonkey
Copy link
Member

This indicates that a non-number was stored where a number was expected in the inner XML.

@wjjessen
Copy link
Author

wjjessen commented Sep 6, 2019

After testing, this happens every time a new record is created in the NextCloud app KeeWeb (v1.8.2), although it's not the new record that's the issue. I can open the kdbx file with MacPass and delete the new record, but KeePassXC will still not open the file and reports the same error (invalid number value).

@droidmonkey
Copy link
Member

Are you capable of providing an example database that is broken by KeeWeb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants