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

Why entries with referencing fields are ignored? #70

Open
cristianst85 opened this issue Jan 22, 2019 · 1 comment
Open

Why entries with referencing fields are ignored? #70

cristianst85 opened this issue Jan 22, 2019 · 1 comment
Labels

Comments

@cristianst85
Copy link

cristianst85 commented Jan 22, 2019

Hi,

Is there a specific reason why entries with referencing fields are ignored?

if(entry.Strings.Get(PwDefs.PasswordField) == null || string.IsNullOrWhiteSpace(entry.Strings.ReadSafe(PwDefs.PasswordField)) || entry.Strings.ReadSafe(PwDefs.PasswordField).StartsWith("{REF:")) continue;

var filteredUsernames = usernames.Where(u => !string.IsNullOrWhiteSpace(u) && !u.StartsWith("{REF:"));

Imho I think at least there should be another checkbox in the dialog window where you could choose whether to resolve them or not.

Also, to improve usability, entries with referencing fields may not be counted/shown in Breached Entries window (or show them, but add extra column, e.g. Has Referencing Field).

Let me know what you think about this and I'll happily submit a PR.

Regards,
Cristian

@andrew-schofield
Copy link
Owner

If you want to go ahead and create a PR then please do.

@cristianst85 cristianst85 changed the title Why entries with referenced fields are ignored? Why entries with referencing fields are ignored? Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants