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

Unlock database on login or with fingerprint #13

Open
johansmitsnl opened this issue Dec 26, 2024 · 2 comments
Open

Unlock database on login or with fingerprint #13

johansmitsnl opened this issue Dec 26, 2024 · 2 comments

Comments

@johansmitsnl
Copy link

johansmitsnl commented Dec 26, 2024

Would it be possible to unlock the database on login (I use Gnome). Or authorize with the fingerprint reader?
Or store the credentials in Gnome keyring instead of a new local db. Because the keyring is already unlocked on login.

@r4gus
Copy link
Owner

r4gus commented Dec 26, 2024

Hi, thanks for the question.

Sure, storing the database decrypted is possible (in that case I would just serialize the data as json) but that has of course some security implications.

When it comes to fingerprint readers: in theory thats possible as long as you can derive a deterministic value with enough entropy from a fingerprint. The problem is that most drivers are proprietary. There is a project called libfprint (you can look if your reader is supported here but I don't have a supported finger print reader to try it out.

Gnome keyring is of course also possible.

I'm currently working on a kdbx4 library so this has to wait.

@johansmitsnl
Copy link
Author

I'm using a fingerprint reader that is supported by libfprint. Don't know how apps do it, but in gnome when you need to perform a user authentication it prompts with a gnome authentication window. Like this it integrates with all auth requests?

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