django-pwned-passwords icon indicating copy to clipboard operation
django-pwned-passwords copied to clipboard

Upgrade to v3 API

Open larsrinn opened this issue 4 years ago • 0 comments

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

larsrinn avatar Mar 24 '20 16:03 larsrinn