keepassxc/src/crypto
Jonathan White 4f0710350f Add support for Windows Hello
* Special thanks to @HexF and @smlu for their contributions towards this feature.

* Add MVP support for Windows Hello as a Quick Unlock solution using the WinRT API. This works by signing a random challenge vector with the Windows Hello protected key store (typically from TPM). The signed challenge is hashed using SHA-256 and then used as the encryption key to encrypt the database credentials. Credentials are encrypted using AES-256/GCM. This ensures the database password can only be decrypted following a successful authentication with Windows Hello in the future.

* Unify Touch ID and Windows Hello behavior under the Quick Unlock branding. Remove all timeout features of Touch ID as they are unnecessary and complicate the feature for no security gain.

* Quick Unlock is automatically reset only when the database key is changed vice whenever database settings are modified.

* Don't set database unlock dialog as always on top. This allows Touch ID and Windows Hello prompts to appear above the dialog properly.

* Prevent quick unlock when using AutoOpen or opening from the command line.
2022-02-22 17:53:50 -05:00
..
kdf Optimize includes across code base 2021-07-13 22:08:33 -04:00
Crypto.cpp Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
Crypto.h Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
CryptoHash.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
CryptoHash.h Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
Random.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
Random.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
SymmetricCipher.cpp Add support for Windows Hello 2022-02-22 17:53:50 -05:00
SymmetricCipher.h Add support for Windows Hello 2022-02-22 17:53:50 -05:00