mihaifm / HIBPOfflineCheck

Keepass plugin that performs offline and online checks against HaveIBeenPwned passwords
Other
314 stars 17 forks source link

HIBP excluded entries are still included when scanning #59

Open koitsu opened 1 year ago

koitsu commented 1 year ago

Scenario

Conclusion

It seems the Excluded feature is only considered when checking the entire password database (via Tools -> HIBP Offline Check... -> Check All Passwords), and not through the right-click context menu.

I can see the use for doing HIBP checks for entries which are marked Excluded, but not as a default; a user expects an excluded entry to truly be excluded.

Recommended change

In the right-click context menu, make a new option called "Check (forced)", which will check selected entries regardless of their Excluded status. However, "Check" should exclude entries as described above.

mihaifm commented 1 year ago

Hi, thanks for the detailed report.

Excluded passwords are not checked, it is just the progress bar that counts all passwords.

Not sure if it's worth fixing, it would just complicate the logic for the progress bar, but I'll give it a thought.

koitsu commented 1 year ago

This provokes a lot of questions :) Sorry for them in advance.

Kind of strange logic going on here, but you know the code, not me.