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

Blank master password #410

Open
wimgielis opened this issue Jan 3, 2025 · 2 comments
Open

Blank master password #410

wimgielis opened this issue Jan 3, 2025 · 2 comments

Comments

@wimgielis
Copy link

Hello,

A how-to question. For some test Keepass databases, I have a master key but it is empty/blank.

How can I use pyKeepass in that case ?
I get: invalid credentials when I try with password = ""

When I change the password to test in Keepass and Python, it works fine.

Best regards,

Wim

@Evidlo
Copy link
Member

Evidlo commented Jan 3, 2025

Use None

@wimgielis
Copy link
Author

Hello,

Thanks, I already tried that. It gives me: Invalid credentials

Only changing it to "test" in the Python code and also in Keepass, then it works.

Visually in Keepass for the empty password, I get the checkbox with "Master password" and then leave that field blank and get access.

Thanks,

Wim

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