mihaifm / HIBPOfflineCheck

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

Optimisations and bug fixes #16

Closed cristianst85 closed 5 years ago

cristianst85 commented 5 years ago

Code optimizations:

Bug fixes:

P.S. Feel free to merge (or cherry pick) these changes if you find them useful.

mihaifm commented 5 years ago

Thanks, good stuff. I'll test these changes and merge them.

What was the issue you mentioned in one of the commits?

Fixed issue with referenced password field that was causing incorrect Pwned status to be shown

cristianst85 commented 5 years ago

I'll give you the steps to reproduce the issue:

Open KeePass and Create a new entry:

Title: test Password: 12345678

Check the status with HIBPOfflineCheck > this should return Pwned (password count: 2840404) as this is a weak/compromised password.

Now we make a copy of the above entry:

I hope this clarify the issue.

mihaifm commented 5 years ago

Cool, thanks. Indeed, references were not handled properly.