Commit Graph
13 Commits
Author SHA1 Message Date
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
Jonathan White 6f14becb8c Exclude Flatpak and Snap from proxy detection warning 2023-08-15 06:13:09 -04:00
1b12c958c5 Improve error message when browser proxy cannot be found (#9385)
Co-authored-by: Blessio <[email protected]>
Co-authored-by: Jonathan White <[email protected]>
2023-08-05 21:15:22 -04:00
varjolintu 5dea019309 Enable Update native messaging manifest files checkbox with Flatpak 2023-07-15 15:30:26 -04:00
Marcel Lauhoff 8a554b37c0 Add 'get-database-entries' Proxy Request (#7292) 2023-02-25 14:09:36 -05:00
louib 7cd824ae1c Upstream Flathub patches (#7728) 2022-04-04 19:04:18 -04:00
Sami Vänttinen bb88ad6e8c Add Microsoft Edge support for Linux (#7100) 2021-11-04 23:02:02 -04:00
varjolintu 250cd1933c Handle tilde with custom paths 2021-08-22 18:30:18 -04:00
peter 6b14b5dc27 Optimize includes across code base 2021-07-13 22:08:33 -04:00
Sami Vänttinen c19efb5b19 Remove credential sorting from Browser Integration (#6353) 2021-03-31 23:14:29 -04:00
varjolintu 43c82ccb09 Custom browser feature for Linux/macOS
* Also move "search in all databases" to the general tab
2020-05-21 14:13:45 -04:00
varjolintu 287e822e02 Allow manual editing of browser extension connection keys 2020-05-14 23:29:50 -04:00
Jonathan White a145bf9119 Complete refactor of Browser Integration classes
* Removed option to attach KeePassXC to the browser extension. Users must use the proxy application to communicate with KeePassXC.
* Significantly streamlined proxy code. Used same implementation of stdin/stdout interface across all platforms.
* Moved browser service entry point to BrowserService class instead of NativeMessagingHost. BrowserService now coordinates the communication to/from clients.
* Moved settings page definition out of MainWindow
* Decoupled BrowserService from DatabaseTabWidget
* Reduced complexity of various functions and cleaned the ABI (public vs private).
* Eliminated BrowserClients class, moved functionality into the BrowserService
* Renamed HostInstaller to NativeMessageInstaller and renamed NativeMessageHost to BrowserHost.
* Recognize XDG_CONFIG_HOME when installing native message file on Linux. Fix #4121 and fix #4123.
2020-05-14 17:14:17 -04:00