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

High Sierra: Unable to open the database Wrong key or database file is corrupt #1913

Closed
frranck opened this issue May 6, 2018 · 15 comments
Closed

Comments

@frranck
Copy link

frranck commented May 6, 2018

Can't open the database.

Current Behavior

Can't open the database:
"Unable to open the database Wrong key or database file is corrupt"

Possible Solution

Steps to Reproduce (for bugs)

  1. select keyfile
  2. enter password

Context

Worked only once (!) since I updated to OSX High Sierra.
Same database/password works fine on android.

Debug Info

KeePassXC - Version 2.3.1
Revision: 2fcaeea

Libraries:

  • Qt 5.9.3
  • libgcrypt 1.8.2

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

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Legacy Browser Integration (KeePassHTTP)
  • SSH Agent
  • YubiKey
@droidmonkey
Copy link
Member

droidmonkey commented May 7, 2018

Try a fresh transfer from your Android to your Mac again. Are you using a key file? Any Unicode characters in your password?

@frranck
Copy link
Author

frranck commented May 7, 2018

@droidmonkey Hi, so I copied the file with a different name on the mac, copied it on my android, opened it. It's working.
When I try to open the new file on the mac it's still failing with the error.

No Unicode characters.

@droidmonkey
Copy link
Member

I can only think of things like caps lock being on or foreign keyboard layout causing issues.

@frranck
Copy link
Author

frranck commented May 7, 2018

Yeah but I'm clicking the little eye to verify the password.

@frranck
Copy link
Author

frranck commented May 8, 2018

Also If I create a new database with a super simple password, then close keepassxc then try to open it again it fails.

@droidmonkey
Copy link
Member

Are you saving the database locally or to some form of cloud/network storage? I hate to give this advice, but have you tried reinstalling KeePassXC? This is not normal behavior and obviously does not impact our general audience (ie, something is up with your setup)

@frranck
Copy link
Author

frranck commented May 8, 2018

Locally. It's a brand new install, I used to use KeepassX that has the same issue since I upgraded to High Sierra. Then I tried KeePassXC that could open my previous database. But it worked only once.

@frranck
Copy link
Author

frranck commented May 8, 2018

I tried with a new version from the .DMG instead of my brew version and it still doesn't work.

@frranck
Copy link
Author

frranck commented May 8, 2018

Also the strange thing is that there's nothing weird with my setup. I don't have any issue with any other software...

@weslly
Copy link
Contributor

weslly commented May 8, 2018

Can you open it with from keepassxc-cli?

@frranck
Copy link
Author

frranck commented May 14, 2018

I don't have it installed with the brew package. where is it ?

@phoerious
Copy link
Member

Due to a packaging bug, keepasxc-cli is not part of the DMG. We need to fix that for 2.3.4.

@frranck
Copy link
Author

frranck commented Aug 25, 2018

Hello, I just installed the latest DMG, how do I access the keepasxc-cli ?

@phoerious
Copy link
Member

It's not contained in the DMG, unfortunately. It's a bug which has been fixed in #2165, but unfortunately, we didn't get that fix ready in time for 2.3.4.

@frranck
Copy link
Author

frranck commented Mar 10, 2019

Hello, seems my database file was simply corrupted.
Thanks for your help, will close this issue.

@frranck frranck closed this as completed Mar 10, 2019
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

4 participants