django-pwned-passwords
django-pwned-passwords copied to clipboard
Upgrade to v3 API
Description
I looked into the documentation for the Have I been pwned API to understand how this is working and saw there is a v3
: https://haveibeenpwned.com/API/v3#PwnedPasswords
It should be quite simple to upgrade. As far as I understand there are no changes regarding except for the added padding: https://www.troyhunt.com/enhancing-pwned-passwords-privacy-with-padding/
So changes could be:
- Change the default URL for the API
- Add the option to include padding to the configuration of
django-pwned-passwords