Skip to content

Fix PBKDF2 implementation to use Adapted Base64 encoding#474

Merged
smortex merged 1 commit intovoxpupuli:masterfrom
a-courteille:master
Jan 22, 2026
Merged

Fix PBKDF2 implementation to use Adapted Base64 encoding#474
smortex merged 1 commit intovoxpupuli:masterfrom
a-courteille:master

Conversation

@a-courteille
Copy link
Contributor

Pull Request (PR) description

In #472, I implemented PBKDF2 support using standard Base64 encoding. However, the OpenLDAP PBKDF2 module documentation (https://git.openldap.org/openldap/openldap/-/blob/master/contrib/slapd-modules/passwd/pbkdf2/README?ref_type=heads) specifies the use of Adapted Base64 (AB64) encoding.

My initial implementation was therefore non-functional. I missed this issue due to an error in my testing protocol.

This fix has been tested and validated against OpenLDAP 2.6.10 with Puppet Server 7.17.3.

My apologies for the initial oversight.

@smortex smortex added the bug Something isn't working label Jan 22, 2026
Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Adapted Base64" 🤡

Yayyyy! XKCD 927 hit one again!

@smortex smortex merged commit a1b5ca4 into voxpupuli:master Jan 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants