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

is it possible to have windows hello instead of principaé password at 1st connection to keepass ? #7

Closed
gio710 opened this issue Sep 25, 2018 · 24 comments
Labels
enhancement New feature or request

Comments

@gio710
Copy link

gio710 commented Sep 25, 2018

No description provided.

@werthdavid
Copy link

+1

@sirAndros
Copy link
Owner

Hello!
Yes, it's already in our plans, but unfortunately we can't give you time estimate for this feature.

@sirAndros sirAndros added the enhancement New feature or request label Oct 5, 2018
@gplaza
Copy link

gplaza commented Nov 24, 2018

+1

@P3rry
Copy link

P3rry commented Dec 19, 2018

+1 would really love this

@wojciechka
Copy link

+1

2 similar comments
@aruiz14
Copy link

aruiz14 commented Dec 20, 2018

+1

@kastnerp
Copy link

+1

@akrymskiy
Copy link

++

@JkbLskw
Copy link

JkbLskw commented Jan 8, 2019

+1

@RvdHout
Copy link

RvdHout commented Feb 8, 2019

Oh yes, that would be fabulous!
Start keypass, and simply open/unlock the latest opened database with a fingerprint/Windows Hello

The guy here: https://github.com/fabiocbr75/KeePassFingerprint tried to make something that works that way...but it doesn't work for me and is not as smooth as the current KeePassWinHello.

@sambul13
Copy link

Would it presume cracking KeePass Master Password by the plugin?

@wraeuk
Copy link

wraeuk commented Mar 3, 2019

@sambul13 - no.
Windows Hello would, however, need to store the master password.

From a security threat perspective the only real risks here are

  • The simple fact that the key you use to unlock your Hello may be more insecure than your master password (which would only exploitable on your machine)
  • Your computer gets compromised and your trust store is stolen (noting that, if your machine is compromised, a keylogger could also trivially grab your master password)

@sambul13
Copy link

sambul13 commented Mar 4, 2019

@wraeuk

Based on this plugin settings in KeePass Options, Windows Hello already stores the master password for the time selected by user, like Indefinite. Can the Trust Store be exploited by some Password Recovery software, and therefore KeePass master password stolen if permanently stored their?

If not, KeePass should only require Master Password ones 1st time after adding the plugin just like Fingerprint plugin (which feels a bit complex to install).

@Theliel
Copy link

Theliel commented Mar 31, 2019

Hello!
Yes, it's already in our plans, but unfortunately we can't give you time estimate for this feature.

Without a doubt one of my favorite addons, extremely comfortable. Thanks to the developers.

what about using TPM?

A few days ago I suggested implementing the use of TPM modules in KeePass. If it is used, in addition to increasing security, automatic access could be made from the first opening of the database, without ever needing to re-enter the master password. You could always access directly with the Master password, but indistinctly, you could use Windows Hello (any of the middle modes), or even a PIN.

In its simplest version, the master password could be binded to the TPM, or even sealed, and configure this plugin and TPM for key releasing with Windows Hello.

If you wanted to add a much greater protection, you could also perform the decryption of the database directly in the TPM, so that the master password would never be used by the system, and with Windows Hello it would not be necessary to enter it either.

@4-FLOSS-Free-Libre-Open-Source-Software

++

@SilvesterSchneider
Copy link

SilvesterSchneider commented Jun 2, 2019

+1

1 similar comment
@semool
Copy link

semool commented Jun 5, 2019

+1

@ghost
Copy link

ghost commented Aug 18, 2019

Hello!
Yes, it's already in our plans, but unfortunately we can't give you time estimate for this feature.

Someone already done that
https://github.com/Angelelz/WinHelloUnlock

@sirAndros
Copy link
Owner

We've implemented a permanent storage in our new release v3.0.

@shuffle-c
Copy link
Collaborator

Hello!
Yes, it's already in our plans, but unfortunately we can't give you time estimate for this feature.

Someone already done that
https://github.com/Angelelz/WinHelloUnlock

Thanks, I had a glance at the WinHelloUnlock that looks solid, though I noticed it's based on UWP API. Since it's completely different ecosystem (even not .NET based) there seems to be no way to itegrate that code with KeePass PLGX source-based plugin system (which means that your source code has to be compiled with .NET Framework on the fly by KeePass). This is why we've decided using solely low-level native Windows API to work with Windows Hello platform in the first place, and so our plugin is shipped in PLGX format.

@Angelelz
Copy link

This is why we've decided using solely low-level native Windows API to work with Windows Hello platform in the first place, and so our plugin is shipped in PLGX format.

Thank you for taking a look at WinHelloUnlock, It's heavily based on KeePassWinHello, but, is there any resource you can recommend, because I don't understand most of your Windows API calls. Any documentation? I've been looking into providing WinHelloUnlock in .plgx file but as you said, it's not supported by KeePass.

@gio710
Copy link
Author

gio710 commented Aug 26, 2019 via email

@shuffle-c
Copy link
Collaborator

This is why we've decided using solely low-level native Windows API to work with Windows Hello platform in the first place, and so our plugin is shipped in PLGX format.

Thank you for taking a look at WinHelloUnlock, It's heavily based on KeePassWinHello, but, is there any resource you can recommend, because I don't understand most of your Windows API calls. Any documentation? I've been looking into providing WinHelloUnlock in .plgx file but as you said, it's not supported by KeePass.

Unfortunately, there is no documentation for native API regarding Windows Hello encryption provider. Microsoft provides general description of its cryptography API, and I've done a long research as to figure out the particular parameters and workflow for interacting with WinHello encryption provider.

We're planning on develop an independent C#/C++ library, providing a simple interface to work with WinHello. And we need to write a doc for its internals as well, but it will take time because English is not the first language for us.

@Angelelz
Copy link

Great! Let me know if I can help, even though english is not my first language ether.
In my research I found a Library called WindowsHello but it's actually based on this plugin! :)

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

No branches or pull requests