keepassxc/share
Jonathan White b7a1c620e4 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-09 15:21:46 -05:00
..
branding Improve colorful lock icon for system tray (#9632) 2023-08-14 21:40:13 -04:00
icons Add basic support for WebAuthn (Passkeys) (#8825) 2024-01-30 18:26:45 -05:00
linux Update share/linux/org.keepassxc.KeePassXC.appdata.xml 2024-01-30 18:26:45 -05:00
macosx Losslessly optimize PNG images 2023-07-15 15:27:36 -04:00
translations Passkeys improvements (#10318) 2024-03-09 15:21:46 -05:00
windows Fix terminating KeePassXC processes with MSI installer (#9822) 2024-02-04 11:50:52 -05:00
wizard Losslessly optimize PNG images 2023-07-15 15:27:36 -04:00
wordlists Update eff_large.wordlist 2022-09-22 06:49:07 -04:00
CMakeLists.txt Enable dark title bar on windows when accent color is not used 2022-10-16 19:17:02 -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