keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.83k stars 1.44k forks source link

Search for 'has advanced field(s)' and 'has advanced protected field(s)' #10489

Open Ivanmatthew opened 6 months ago

Ivanmatthew commented 6 months ago

Expected Behavior

There should be a new column option for the list to sort on entries that have populated advanced fields, with one column for protected advanced fields and one for just advanced fields. The one for just advanced fields should prioritize sorting non-protected advanced fields first, and then protected advanced fields last.

Current Behavior

None of these column options currently exist.

Possible Solution

Use the same code for checking if an entry has attachments or TOTP, but change it to check for list size of advanced fields list.

Debug info

KeePassXC - 2.7.7 Operating system: Windows 11

droidmonkey commented 6 months ago

This would be much better implemented as a search. has:adv-attr and has:protected-attr. However, begs the question why this matters? Can you provide the use case?

Ivanmatthew commented 4 months ago

This would be much better implemented as a search. has:adv-attr and has:protected-attr. However, begs the question why this matters? Can you provide the use case?

Hi, thank you for the interest in my feature request.

Last week I had to redo a lot of account's security questions, I save these in the advanced protected attributes and some in the advanced attributes. However, when it came to be, I had to go through each item to check if I had an advanced field or not, with a security question in it. Having a new column to sort on this (without regarding the content) would be useful as it doesn't require me to go through each item to check if it has an attribute.

Thanks!

droidmonkey commented 4 months ago

You could name your advanced attribute(s) with a prefix like: secquest-mothername and do a search for attr:secquest*

However, usually you update security questions very seldomly and only when required to per account. Not sure why you would need to go through your entire database for this action?