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

Can't open DB because "Invalid credentials" (not true) #3611

Closed
franalbani opened this issue Oct 9, 2019 · 17 comments
Closed

Can't open DB because "Invalid credentials" (not true) #3611

franalbani opened this issue Oct 9, 2019 · 17 comments
Labels

Comments

@franalbani
Copy link

Since a few days ago, I'm unable to open my DB. I tried with a known-to-have-worked back up and I get the same message:

keepassxc_error

I'm 100% sure of using the right password and 99% sure it is not corrupted.

Expected Behavior

Opening DB as usual...

Current Behavior

See screenshot

Context

Using up-to-date Arch Linux. It may have stopped working after a system update, but I'm not sure. I use etckeeper so I can gather more info, if you tell me what to look.

Debug Info

KeePassXC - 2.4.3-1

Operating system: Arch Linux
CPU architecture: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
Kernel: 5.3.5.arch1-1

@franalbani franalbani added the bug label Oct 9, 2019
@droidmonkey
Copy link
Member

Make sure all the checkboxes are unchecked except for the password

@franalbani
Copy link
Author

franalbani commented Oct 10, 2019

Make sure all the checkboxes are unchecked except for the password

Thanks.
I already tried based on other issues. No difference.

@droidmonkey
Copy link
Member

There is nothing further we can do to assist, unfortunately.

@franalbani
Copy link
Author

Do I have an independent way of checking if the DB is really corrupted?

Can I try with other compatible of software (maybe in another OS)?

@droidmonkey
Copy link
Member

droidmonkey commented Oct 10, 2019

Sure you can try using normal keepass on mono

@franalbani
Copy link
Author

I tried with keepass on mono, and with another keepasxc running in an arch linux docker.

Same problem.

I'm puzzled.

@droidmonkey
Copy link
Member

droidmonkey commented Oct 10, 2019

Then its probably corrupt, where are you storing the database?

@franalbani
Copy link
Author

Then its probably corrupt, where are you storing the database?

It was on my laptop SSD. No known failures.

What puzzles me is that the backup was made before the main copy stopped working.

@droidmonkey
Copy link
Member

Did you change your keyboard layout?

@franalbani
Copy link
Author

Did you change your keyboard layout?

No.

In any case, I checked many times the password was correct, after hitting the eye icon.

@droidmonkey
Copy link
Member

Did you do ANYTHING to your database before this happened? Changed encryption settings? Changed the password itself? Anything???

@franalbani
Copy link
Author

Did you do ANYTHING to your database before this happened? Changed encryption settings? Changed the password itself? Anything???

Nothing.

@ssgeos
Copy link

ssgeos commented Oct 13, 2019

I have exactly the same problem. The file is not corrupt. When I restarted Linux I could not open the database anymore. I finally managed to open it by unchecking the database file checkbox. Is this expected behaviour?
Screenshot_2019-10-13_08-59-03

@droidmonkey
Copy link
Member

That's not supposed to be the database file at all. That is for a separate non-changing file that gets added to your password to unlock the database. There should be no text in that field.

@ssgeos
Copy link

ssgeos commented Oct 13, 2019

Yes, I see it now. I don't know why I mixed that up.

@phoerious
Copy link
Member

phoerious commented Oct 14, 2019

I have seen that quite a few times. We have even received emails about it. Would it make sense to warn users if they are trying to use their database file as a key file? There is no way this is going to work. Even if you actually added the database file as a key file, you wouldn't be able to open it anymore, because that changes the database file and you effectively lost access forever unless you had a backup somewhere. I haven't seen that extreme yet, but if we're already adding safeguards for opening a database, we might as well prohibit saving a database with itself as a key file.

@franalbani
Copy link
Author

I'm 100% sure of using the right password and 99% sure it is not corrupted.

Guess what?

I will close this issue and remove myself from the Internet for a while, to meditate on my actions.

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

No branches or pull requests

4 participants