Upgrade to use V3 of the HIBP API?

Created on 7 December 2023, over 1 year ago
Updated 8 December 2023, over 1 year ago

Problem/Motivation

The module currently uses V2 of the HIBP API, but there's now a V3.

https://haveibeenpwned.com/API/v3#PwnedPasswords

Proposed resolution

Update to use v3 of the API.

Remaining tasks

Do we need to change anything?

At a glance, the only difference I can see for the PwnedPasswords portion of the API is the addition of Add-Padding.

Perhaps we could add that as an option; I'd leave it disabled by default.

It looks like support for NTLM hashes has also been added, but that's not relevant to Drupal.

Add tests for any additional functionality.

User interface changes

Any additional options to be added to the admin UI.

API changes

Doesn't look like the version is included in the URL we send API requests to, so no need to change that?

Data model changes

n/a

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom mcdruid 🇬🇧🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024