Custom Password Hash Example Required

I’m looking to import only a few Wordpress users via the json file mentioned here: Bulk User Import Database Schema and Examples

I think each users custom password hash field needs to be setup like this:

    "custom_password_hash": {
        "properties": {
            "algorithm": "md5",
            "hash": {
                    "value": "$P$BABCEFGHJKLMNOPQRSTUVWXYZ12345678",
                    "encoding": "base64"
                }
            },
            "salt": {
                    "value": "ABCEFGHJK",
                    "encoding": "base64",
                    "position": "prefix"
                }
            }
        }

However by trawling through the Wordpress code I can see that there should be a number of salt rounds.

I don’t see a parameter for this in the json schema.

Can anyone tell me if: it’s handled automatically || I’m missing something || it’s simply no possible to set up a custom password hash for a Wordpress password?

4 Likes

Can I pay for support on this?

@auth0man Did you have a chance to solve this?

I didn’t solve it. I suspect this method only works with basic salted md5 hashes.

2 Likes