Skip to content

Don't pre-select hardware key slot when adding/changing database security #11822

Open
@mpas97

Description

@mpas97

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

The challenge response dropdown setting does not preselect the currently configured slot, insead it takes the first (?) one. So without touching the dropdown in settings, you will end up with a different slot, if you initially had eg. slot 2 configured. This should be doable, especially as the exact slot is known for saving and remembered for the unlock dialog.

Steps to Reproduce

  1. Have a DB with challenge response set up (slot 2)
  2. open database settings -> security -> show challenge response dropdown (where slot 1 is preselected)
  3. click OK (without having done any modification: shown dropdown was not touched)
  4. see that you now need slot 1 instead of 2 to unlock DB

Expected Versus Actual Behavior

If slot 2 was used, preselect 2. Clicking OK does not change anything.

KeePassXC Debug Information

2.7.10

Operating System

macOS

Linux Desktop Environment

None

Linux Windowing System

None

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions