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

certificate with expiration date #4

Closed
kehli4713 opened this issue Nov 3, 2019 · 3 comments
Closed

certificate with expiration date #4

kehli4713 opened this issue Nov 3, 2019 · 3 comments

Comments

@kehli4713
Copy link

Hi, thanks your work in the great plugin. We want to secure the keepass-database with Active-Directory certificates. Its al workink well. But, they are valid for 2 years. what happens, when the certificate is expired and did not do anything? THANKS

@FrantisekBodnar
Copy link
Member

Hi I'm glad that you use my plugin and you are happy with it. :)

The problem would be that if Private key of the certificate will change, you would not be able to open the database. It works like "hidden second Master Password" that is generated from that private key alongside with your Master Password. It is same as you would forget the Master Password, then you would not be able to open any DB.

If the certificate is just expired, and not deleted, you should be able to unlock a DB. I don't restrict the list of certificates that you can select base on expiration date. Only restriction is that you can't select certificate without private key.

What I can do is to add a reminder if you open the DB that the certificate will expire. If you have any other suggestions, just let me know. :)

When you open DB with expired certificate, you can than select the new one and save DB.

Best
Franky

@Peter0x48
Copy link

Hi Franky,

what do you think about adding a recovery mode? I think one way of implementation would be to display the content of the RSA signature as a hex string during setup and then adding a recover button to the prompt during the unlock phase.

Thanks,
Peter

@FrantisekBodnar
Copy link
Member

I see your point, but I also see it as potential security risk, that someone can access your DB without the Smart Card.
Point of the Smart Card is that anyone can't access those information, so it can't be somehow stolen or misused.

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

3 participants