keepassxc/share
Sami Vänttinen ac2b445db6
Passkeys improvements (#10318)
Refactors the Passkey implementation to include more checks and a structure that is more aligned with the official specification.
Notable changes:
- _BrowserService_ no longer does the checks by itself. A new class _BrowserPasskeysClient_ constructs the relevant objects, acting as a client. _BrowserService_ only acts as a bridge between the client and _BrowserPasskeys_ (authenticator) and calls the relevant popups for user interaction.
- A new helper class _PasskeyUtils_ includes the actual checks and parses the objects.
- _BrowserPasskeys_ is pretty much intact, but some functions have been moved to PasskeyUtils.
- Fixes Ed25519 encoding in _BrowserCBOR_.
- Adds new error messages.
- User confirmation for Passkey retrieval is also asked even if `discouraged` is used. This goes against the specification, but currently there's no other way to verify the user.
- `cross-platform` is also accepted for compatibility. This could be removed if there's a potential issue with it.
- Extension data is now handled correctly during Authentication.
- Allowed and excluded credentials are now handled correctly.
- `KPEX_PASSKEY_GENERATED_USER_ID` is renamed to `KPEX_PASSKEY_CREDENTIAL_ID`
- Adds a new option "Allow localhost with Passkeys" to Browser Integration -> Advanced tab. By default it's not allowed to access HTTP sites, but `http://localhost` can be allowed for debugging and testing purposes for local servers.
- Add tag `Passkey` to a Passkey entry, or an entry with an imported Passkey.

Fixes #10287.
2024-03-06 07:42:01 -05:00
..
branding Improve colorful lock icon for system tray (#9632) 2023-08-14 21:39:50 -04:00
icons Add basic support for WebAuthn (Passkeys) (#8825) 2023-10-25 10:12:55 -04:00
linux Fix minor typos (#10124) 2023-12-22 15:12:07 -05:00
macosx Losslessly optimize PNG images 2023-06-10 18:26:10 -04:00
translations Passkeys improvements (#10318) 2024-03-06 07:42:01 -05:00
windows Fix terminating KeePassXC processes with MSI installer (#9822) 2023-10-23 23:23:20 -04:00
wizard Losslessly optimize PNG images 2023-06-10 18:26:10 -04:00
wordlists Update eff_large.wordlist 2022-06-11 09:28:38 -04:00
CMakeLists.txt Add Polkit Quick Unlock Support 2023-10-23 23:07:27 -04:00
demo.kdbx Correctly set KDBX envelope version 2021-11-22 12:58:04 +01:00
demo.key Add demo kdbx file (password is secret) (#3294) 2019-06-30 11:07:59 -04:00
demo.old.kdbx Update translations 2022-03-21 00:26:07 +01:00
empty3.kdbx Add fuzz test support 2020-10-08 22:49:34 -04:00
empty4.kdbx Add fuzz test support 2020-10-08 22:49:34 -04:00