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

Allow to Auto-Type entry password or username from selection dialog #3630

Closed
SebiderSushi opened this issue Oct 16, 2019 · 4 comments · Fixed by #5864
Closed

Allow to Auto-Type entry password or username from selection dialog #3630

SebiderSushi opened this issue Oct 16, 2019 · 4 comments · Fixed by #5864

Comments

@SebiderSushi
Copy link

SebiderSushi commented Oct 16, 2019

Summary

Per default, auto-type enters username, tab, password, then enter.
The requested feature should be a user-friendly way to customize this behavior on-the-fly and as needed whenever something else is required by the user.

Desired Behavior

KeePassXC should offer a user-friendly way to quickly select and auto-type any single attribute of a password entry. This would already make the feature sufficient, but to take things further, KeePassXC might as well offer the possibility to customize an auto type sequence based on certain temporary requirements.

Possible Solution

The former can be accomplished by adding a new option in the right click menu of a password entry. It could be called "Auto-type attribute" and should work similar to "Copy attribute...".

The latter could be accomplished using "Auto-type profiles". I.E. KeePassXC would offer the ability to define multiple, named auto-type sequences, either globally or for a specific entry. These could also be selected on-the-fly in the right-click menu of a password entry.
Using this feature, a user could create the global sequence {PASSWORD}{TAB}{PASSWORD} and use it whenever a password change on a website requires typing the new password twice.

Context

When changing their password, a user is confronted with a differend promt than the usual login, mostly requiring the old password, then the new one twice.

Apart from that, the user might want to use an attribute from a password entry that should not enter the clipboard area.

As far as i know, Auto-type can only be used to meet these circumstances if the user is willing to make a significant effort, as KeePassXC currently just offers the following features to deal with this scenario:

  • Temporarily override the auto type sequence by hand, in order to match the current requirements
  • Define Window associations to try and match the window title present in the affected situation. This can be impossible, since the title is likely the same for e.g. login and password change on a website.

As these circumstances can occur quite frequently, this effort should be reduced.

@droidmonkey droidmonkey changed the title Request: Spontaneously access attributes using auto-type Allow to select entry attribute to Auto-Type on demand Oct 16, 2019
@droidmonkey
Copy link
Member

This is a great proposal, I find myself in this awkward situation commonly that you describe. I think this would be best implemented through a separate global shortcut that brings up an attribute picker instead of executing the defined Auto-Type sequence.

@jonzyk
Copy link

jonzyk commented Oct 25, 2019

+1 for this. Useful when application saves the username, to autotype only the password.

@JeanBarry
Copy link

Agree, this is a great idea that could be useful in many cases.

@droidmonkey droidmonkey changed the title Allow to select entry attribute to Auto-Type on demand Allow to Auto-Type entry password or username from selection dialog Aug 22, 2020
@droidmonkey droidmonkey added this to the v2.7.0 milestone Aug 22, 2020
@droidmonkey droidmonkey self-assigned this Aug 22, 2020
@ccoenen
Copy link

ccoenen commented Aug 23, 2020

I would like to suggest also adding TOTP to the selections here, and this needs solid keyboard support.

While within this selection dialog, it could work like this:

  • existing: up/down select an entry from the list
  • existing: enter auto-type with this entry's sequence (or default sequence obviously)
  • new: any "normal" letter/number key: refine list or search, related to Allow to select entry if window not found on auto-type #429
  • new: alt+1 for regular auto-type (additionally to the existing enter!)
  • new: alt+2 for username only
  • new: alt+3 for password only
  • new: alt+4 for TOTP.

Those would be very easy to reach when you just used ctrl+alt+A: your thumb is probably already on alt and you wouldn't need to move much. For discoverability, there would probably have to be a hint somewhere about this behaviour.

A different (but less memorable) possibility might be:

  • existing: up/down select an entry from the list
  • existing: enter auto-type with this entry's sequence (or default sequence obviously)
  • new: any "normal" letter/number key: refine list or search, related to Allow to select entry if window not found on auto-type #429
  • new: shift+enter auto-type just the password
  • new: ctrl+enter auto-type just the TOTP

But personally, I really like the first one.

droidmonkey added a commit that referenced this issue Nov 9, 2020
* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog.
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 10, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Only filter based on Group, Title, and Username column data
* Always show the sequence column (revert feature)

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 11, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Only filter based on Group, Title, and Username column data
* Always show the sequence column (revert feature)

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 11, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Only filter based on Group, Title, and Username column data
* Always show the sequence column (revert feature)

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 15, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 15, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Nov 15, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
droidmonkey added a commit that referenced this issue Dec 2, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Dec 3, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Dec 17, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Dec 24, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Dec 26, 2020
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Feb 14, 2021
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Feb 15, 2021
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
droidmonkey added a commit that referenced this issue Feb 22, 2021
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close #3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close #429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix #5361 - Default size of selection dialog doesn't cut off matches
libklein pushed a commit to libklein/keepassxc that referenced this issue Mar 1, 2021
Significant improvements to the Auto-Type select dialog. Reduce stale and unnecessary code paths.

* Close select dialog when databases are locked.
* Close open modal dialogs prior to showing the Auto-Type select dialog to prevent interference.
* Never perform Auto-Type on the KeePassXC window.
* Only filter match list based on Group, Title, and Username column data (ie, ignore sequence column)
* Always show the sequence column (revert feature)
* Show selection dialog if there are no matches to allow for a database search

* Close keepassxreboot#3630 - Allow typing {USERNAME} and {PASSWORD} from selection dialog (right-click menu).
* Close keepassxreboot#429 - Ability to search open databases for an entry from the Auto-Type selection dialog.
* Fix keepassxreboot#5361 - Default size of selection dialog doesn't cut off matches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants