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

Yubikey reset #9

Closed
TonyStark02 opened this issue Feb 1, 2022 · 3 comments
Closed

Yubikey reset #9

TonyStark02 opened this issue Feb 1, 2022 · 3 comments

Comments

@TonyStark02
Copy link

Hello,

I locked my yubi so i had to reset it.

I exported the cert before that.

After the reset, I reimported the cert but it's impossible to open my database anymore...
Because of a private key problem?

Is there any way to open my database by overriding the key auth?

@FrantisekBodnar
Copy link
Member

Hello,
you need to have same private key, so if you had PFX cert file (that contains also the private key with all cert details) in some secure backup it should work.
I did that several times in same scenario as you are facing now or I got new USB Smart card device and it works without any issues. I just took it from backup and imported it to the Smart card and it works, even on multiple different devices.

FYI: I have self-signed certificate.

@FrantisekBodnar
Copy link
Member

Is there any way to open my database by overriding the key auth?

It can be "overridden" and send to unlock KeePass by modifying the code of the plugin (not possible by default), but you would need to know what the exact hash (like secrete password), that was generated by private key of your certificate in the plugin.
So this is long answer, to your question 😄 The short one is NO 😉

@TonyStark02
Copy link
Author

Hello,

Thank you for your answers :)

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