Commit Graph
3259 Commits
Author SHA1 Message Date
Jonathan White 4bd9fdd7a4 Passkeys: UI adjustments 2024-01-30 18:26:45 -05:00
varjolintu fe739578ab Passkeys: Create AAGUID for KeePassXC 2024-01-30 18:26:45 -05:00
varjolintu 3f77678b5c Passkeys: Fix default timeout on authentication 2024-01-30 18:26:45 -05:00
Jonathan White c477f43c40 Passkeys: Add support for importing Passkey to entry (#9987)
---------
Co-authored-by: Jonathan White <[email protected]>
2024-01-30 18:26:45 -05:00
varjolintu 7371589955 Rename userId to credentialId 2024-01-30 18:26:45 -05:00
Jonathan White 1cbbcff259 Create new UrlTools class
Includes "Fix ifdefs with UrlTools"
2024-01-30 18:26:45 -05:00
Jonathan Whiteandvarjolintu 416581b179 Add basic support for WebAuthn (Passkeys) (#8825)
---------

Co-authored-by: varjolintu <[email protected]>
Co-authored-by: droidmonkey <[email protected]>
2024-01-30 18:26:45 -05:00
Jonathan White 82c1bf4ddb Fix support for referenced URL fields 2024-01-30 18:26:45 -05:00
Sami Vänttinen 7f33868d14 Fix crash on database open from browser (#9939) 2024-01-30 18:26:45 -05:00
Jonathan WhiteandSami Vänttinen c5312d63f2 Fix various bugs when returning credentials (#9136)
Co-authored-by: Sami Vänttinen <[email protected]>
2024-01-30 18:26:45 -05:00
Jonathan Whiteandvarjolintu e401e8f4bc Browser Integration code cleanup (#8489)
Co-authored-by: varjolintu <[email protected]>
2024-01-30 18:26:45 -05:00
Dmytro 159c7cf153 Fix dangling reference (#10135) 2024-01-27 12:09:38 -05:00
lapse 5686776e53 Update CMakeLists.txt (#10098)
Added set(CPACK_COMPONENTS_ALL "") to prevent cmake from causing an XML fragments issue later on in CPack.
2024-01-27 12:04:50 -05:00
Dan Church 05ab5b1700 Fix Botan 2/3 include
Botan::secure_scrub_memory -> defined in mem_ops.h
Botan::secure_vector -> defined in secmem.h

The reason only including secmem.h worked in previous (<3.0) versions of
Botan was because secmem.h included mem_ops.h. This is no longer the
case since commit
randombit/botan@49dbbcb2bf (2023-10-11;
"Split out allocator helpers to allocator.h")

Fixes #10038
2024-01-27 08:52:52 -05:00
Jonathan White 742a4f8980 Exclude Flatpak and Snap from proxy detection warning 2023-08-15 07:28:11 -04:00
varjolintu e84d6c0b06 Revert "Fix password dialog close button"
This reverts commit 5b47190fcc.
2023-08-14 23:23:49 -04:00
Jonathan WhiteandJanek Bevendorff 3e6b118267 Improve colorful lock icon for system tray (#9632)
* Fix #9432
* Simplify tray icon selection code
* Update all icons with latest export
* Fix MIME type icon appearance on KDE
---------
Co-authored-by: Janek Bevendorff <[email protected]>
2023-08-14 21:40:13 -04:00
Sami Vänttinenandvarjolintu eee4ca9a26 Improve duplicate URL warning (#9635)
Co-authored-by: varjolintu <[email protected]>
2023-08-14 07:04:48 -04:00
Jonathan White aecd154399 Fix several issues with Quick Unlock (#9697)
* Fix #7892 - Pressing escape when the quick unlock prompt is shown will now go back to the main unlock dialog view.
* Fix #9030 - Quick unlock will be automatically invoked in the unlock dialog upon being shown.
* Fix #9554 - Quick unlock application setting will be updated every time the settings widget is shown instead of just on first launch.

* Show warning that quick unlock is not enabled if user cancels Windows Hello prompt. This should limit people thinking there is a security issue. Also improve documentation describing this behavior.

* Disable quick unlock in gui tests
2023-08-14 07:04:42 -04:00
Jonathan White f293aad74f Enable save button when not auto-saving non-data changes (#9634)
* Fix #9501
* Also fix bug where context menu did not update when entry moved to very top or bottom of list
2023-08-14 07:04:33 -04:00
Jonathan White 5804e63559 Move toolbar back to top of main window when unmovable
* Fix #9384
2023-08-06 15:49:24 -04:00
Jonathan White fb2664b54a Prevent KeeShare banner from squashing group panel
* Fixes #9569
2023-08-06 15:49:19 -04:00
Jonathan White 10f4704724 Increase fixed font point size on Windows
* Consolas runs smaller then the default system font. Increasing by 1 point size makes them look equal.
2023-08-06 15:49:16 -04:00
Jonathan White ea77ee686d Copy TOTP on preview panel on double click
* Closes #9545
2023-08-06 15:49:12 -04:00
Jonathan White 09bda6a882 Prevent password preview from being cut off
* Fixes #9190
2023-08-06 15:49:09 -04:00
Jonathan White 6fb498648d Significantly improve visual when dragging entries to copy/move
* Fixes #6079
2023-08-06 15:49:04 -04:00
varjolintu 5b47190fcc Fix password dialog close button 2023-08-06 15:49:00 -04:00
Jonathan WhiteandBlessio 663d4d99ae 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:20:45 -04:00
Oleg Muraviov 4ea0a1058c Fixes #9255 Access Confirmation dialog should not be shown with option ConfirmAccessItem=true 2023-08-05 07:31:14 -04:00
Jonathan White 55ca5ca34c Pass parent to browser popups 2023-08-05 07:31:05 -04:00
varjolintu cdf6cd7cd2 Disable entry level Auto-Type 2023-08-05 07:29:14 -04:00
Jonathan White 4c1105f968 Linux: Fix warning message about --allow-screencapture (#9638)
* Fixes #9420
2023-08-05 07:28:54 -04:00
Jonathan White a81771207f Windows: Prevent white flicker when showing main window (#9637)
* Fixes #9603
2023-08-05 07:28:50 -04:00
Jonathan White 2fe647fd7a Fix potential crash in search if an entry doesn't have a group (#9633) 2023-08-05 07:28:42 -04:00
Jonathan WhiteandSzczepan Zalega 33b740ddd0 Add challenge-response support for Nitrokey 3 (#9631)
Co-authored-by: Szczepan Zalega <[email protected]>
2023-08-05 07:28:36 -04:00
Sami Vänttinen f30604c6f6 Add warning for duplicate URLs with Additional URLs list (#9588) 2023-07-15 15:33:20 -04:00
varjolintu e9ea5b43ec Enable Update native messaging manifest files checkbox with Flatpak 2023-07-15 15:30:48 -04:00
Jonathan White 1594e5f4e3 MacOS: Fix crash on exit
* Fixes #9423
2023-07-15 15:28:39 -04:00
aceArt-GmbHandlukas 13a71ff1c8 Add uuid search (#9571)
Co-authored-by: lukas <[email protected]>
2023-07-15 15:28:16 -04:00
varjolintu fa73f100f7 Handle expired credentials normally 2023-07-15 15:28:07 -04:00
Jonathan White 37dabd2561 Fix finding libssl and libcrypto on MSYS builds 2023-05-14 15:52:11 -04:00
tenzap d5d9a4c08c use setWindowFlags() instead of setWindowFlag on Qt<5.9
Fixes:
src/gui/CloneDialog.cpp:32:5: error: use of undeclared identifier 'setWindowFlag'
    setWindowFlag(Qt::WindowContextHelpButtonHint, false);
    ^

void QWidget::setWindowFlag(Qt::WindowType flag, bool on = true)
--> This function was introduced in Qt 5.9.
2023-05-14 13:24:27 -04:00
Carlo Teubner eddd97fbab Fix Botan deprecation warning
Use the non-deprecated PK_Signer constructor overload, by explicitly
passing in our random-number generator.
2023-05-14 12:10:53 -04:00
Jonathan White 59042563b3 Revert "Support {MODE=VIRTUAL} on macOS"
This reverts commit 25fc69dcd4.
2023-05-13 15:48:06 -04:00
tenzap 74d96fc06f Fix build failure with Qt5.6 (#9382) 2023-05-07 23:23:17 -04:00
Jonathan White b225b85644 Greatly improve performance when rendering entry view (#9398)
* Fixes #9390
* Create one QCollator per entry view instead of creating one on every sort request. This greatly improves the speed of sorting and displaying entries.
* Rewrite recursive multiple placeholder replacement to use QRegularExpression
2023-05-07 23:19:48 -04:00
Jonathan White ebc0b3ff5f Add support for Botan3 (#8994)
Fix Botan 3 build (#9388)

* SymmetricCipher: Fix Botan 3 build

Botan commit 819cf8fe6278a19b8266f449228f02fc28a4f784 changed Botan::Cipher_Dir to be a scoped enumeration, so the users must be adapted.

This change causes no issues with Botan 2 because normal enumeration values can also be referred to the same way scoped enumeration values are accessed.

* Auto detect Botan3

* AsyncTask: Do not use `std::result_of`

`std::result_of` was deprecated in C++17 and then it was subsequently removed in C++20. One could use `std::invoke_result_t`, but let Qt figure out the return type instead.

* Collapse Botan2 and Botan3 find package into one

* Update COPYING
2023-05-07 23:19:18 -04:00
ShellCode33 64281b508b Allow specifying initial directory via the KPXC_INITIAL_DIR environment variable 2023-05-01 07:22:44 -04:00
Jonathan White 6c9078c870 Fix crash when search clears while creating new entry
* Fixes #7660
* Also fix code error in Icons::imageFormatsFilter. An inner loop looks for invalid characters in the code point, but erroneously calls `continue` within the inner loop when the intention was to continue in the outer loop. Fixed with a boolean test instead.
2023-05-01 07:22:39 -04:00
Jonathan White 28e2806e07 Make open folder icon exempt from "Apply group icon to entry"
* Fix #9201
2023-04-16 07:16:25 -04:00