Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several issues with Quick Unlock #9697

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Fix several issues with Quick Unlock #9697

merged 2 commits into from
Aug 10, 2023

Conversation

droidmonkey
Copy link
Member

Screenshots

image

Testing strategy

Tested on Windows

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)
  • ✅ New feature (change that adds functionality)

@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Attention: Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.

Project coverage is 64.73%. Comparing base (1b12c95) to head (e4b33e3).
Report is 237 commits behind head on develop.

Files with missing lines Patch % Lines
src/gui/DatabaseOpenWidget.cpp 25.00% 3 Missing ⚠️
src/gui/ApplicationSettingsWidget.cpp 33.33% 2 Missing ⚠️
src/gui/DatabaseOpenDialog.cpp 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9697      +/-   ##
===========================================
- Coverage    64.74%   64.73%   -0.00%     
===========================================
  Files          337      337              
  Lines        44656    44667      +11     
===========================================
+ Hits         28910    28915       +5     
- Misses       15746    15752       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

* 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
@michaelk83
Copy link

michaelk83 commented Aug 6, 2023

While on the issue of QuickUnlock, the guide should also be clarified. Quoting from #9533 (comment): (commented on the code)

I will again suggest that QuickUnlock should be opt-in, or at least have an explicit "Enable QuickUnlock" checkbox on the main Database Unlock widget, where you enter the full master password. I'm ok if the checkbox is checked by default, but it should be clearly visible (and toggleable).

@droidmonkey
Copy link
Member Author

The opt-in/out on the unlock dialog will be introduced in 2.8.0 along with pin-based quick unlock and Linux fprint support.

src/gui/DatabaseOpenWidget.cpp Show resolved Hide resolved
src/gui/DatabaseOpenDialog.cpp Show resolved Hide resolved
@droidmonkey droidmonkey requested a review from phoerious August 10, 2023 11:32
@droidmonkey droidmonkey merged commit eee25a1 into develop Aug 10, 2023
@droidmonkey droidmonkey deleted the fix/quickunlock branch August 10, 2023 12:21
@droidmonkey droidmonkey mentioned this pull request Aug 11, 2023
droidmonkey added a commit that referenced this pull request Aug 14, 2023
* 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
@droidmonkey droidmonkey added the pr: backported Pull request backported to previous release label Aug 14, 2023
libf-de pushed a commit to libf-de/keepassxc-secretservice-dbus that referenced this pull request Aug 16, 2023
Release 2.7.6

Changes
- Significant improvement to visual when drag/drop entries [keepassxreboot#9698]
- Automatically prompt for Quick Unlock when showing unlock dialog [keepassxreboot#9697]
- Improve colorful lock icon and fix file MIME icon on KDE [keepassxreboot#9632]
- Ability to search by entry UUID [keepassxreboot#9571]
- Add challenge-response support for NitroKey 3 [keepassxreboot#9631]
- Auto-Type: Disable entry level Auto-Type when disabled at group/entry [keepassxreboot#9672]
- Browser: Show warning when adding duplicate URL's to entry [keepassxreboot#9588][keepassxreboot#9635]
- Browser: Improve error message when proxy cannot be found [keepassxreboot#9385]

Fixes
- Fix crash on exit on macOS [keepassxreboot#9620]
- Fix crash on search if entry doesn't have a group [keepassxreboot#9633]
- Fix several issues with Quick Unlock [keepassxreboot#9697]
- Enable save button when not auto-saving non-data changes [keepassxreboot#9634]
- Several UI/UX fixes [keepassxreboot#9647]
- Move toolbar back to top of window when disabling movement [keepassxreboot#9699]
- Browser: Fix closing password generator dialog with X button [keepassxreboot#9636]
- Browser: Fix handling of expired credentials [keepassxreboot#9595]
- Windows: Prevent white flicker when launching application [keepassxreboot#9637]
- Linux: Fix warning message about allow screencapture [keepassxreboot#9638]
- FdoSecrets: Fix access confirmation dialog showing even when disabled [keepassxreboot#9690]

# -----BEGIN PGP SIGNATURE-----
#
# iQJIBAABCAAyFiEE6A9nU7OzJX8m9B8ILPQdKqhDj5kFAmTb/usUHGphbmVrQGtl
# ZXBhc3N4Yy5vcmcACgkQLPQdKqhDj5l9vBAAmiCQR+L3ZLVq7CfXK+yOrCr1pV1J
# H6znrRe4SC5MR/dyrx+EVbkaPI0aWtW/NWa4REB9BUxkbXKIPy/9M6smj3xkjAqX
# YuYThNneRBFns9Rb5RyAIonwEXXmYHAWG2wdRXXFOnsb/Dxy9DYZK6+Ysbj55CQJ
# RBJ1y0IKCuajLvENW9zQQ/vTX0oxCQ2F9Fz7aTqGIoxW6NMhjTso7IPvKYWPzbNj
# FBOiI4kusL32pT5u+XwSUjmBvXrIEBjETYFTVgqesItAr0dFAgEh8f0jvuy8on8K
# ukVzD02JqavkMfwtDsvUVLdVdr1PJMOu4/qDodR1xC39VOjS9LQ6dK8rb/1Q4/MR
# cAXjBhNBZ0A5yq9XtdNvl8xYqkvYa/KcFuHUFwBoinLXtKLnh4aswDqk4caNeI4O
# O40Nk5J4J6Qgs89XIsQHkXkGTaPxuISHVeFWWqcpX9kRJhtlt5eIS6nDv8nGx8iq
# q65NfCldPckgmuIxeCX2lYtxieq09jAhD1/92eXsH1aNkZce4W1UcjGE58cduODd
# oXV7VCo0JUzkMky9I9/G+hAqWwLp94D5ewYG8yX2Oz2jwcoWvZSIZ6MtR+2NiYpL
# pFSFB/yoqWQOIVc9eHqCQl7rMMK66pJWwu7boxS22/xoNTAfzMwNtp8CmbLpqIhF
# 7lPQiiC2DnqfR0E=
# =l8kk
# -----END PGP SIGNATURE-----
# gpg: directory '/home/runner/.gnupg' created
# gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
# gpg: Signature made Tue Aug 15 22:40:43 2023 UTC
# gpg:                using RSA key E80F6753B3B3257F26F41F082CF41D2AA8438F99
# gpg:                issuer "janek@keepassxc.org"
# gpg: Can't check signature: No public key
evur pushed a commit to BrokenMS/keepassxc that referenced this pull request Aug 23, 2023
* Fix keepassxreboot#7892 - Pressing escape when the quick unlock prompt is shown will now go back to the main unlock dialog view.
* Fix keepassxreboot#9030 - Quick unlock will be automatically invoked in the unlock dialog upon being shown.
* Fix keepassxreboot#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
@phoerious phoerious added pr: new feature Pull request that adds a new feature pr: bugfix Pull request that fixes a bug and removed new feature labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: QuickUnlock pr: backported Pull request backported to previous release pr: bugfix Pull request that fixes a bug pr: new feature Pull request that adds a new feature ux
Projects
None yet
3 participants