Hi… We have recently upgraded our bcrypt ruby gem which is why some of our passwords are encrypted with cost 12. Older passwords are cost 10
These newer passwords are failing your reg ex matching which means we can’t import more recent customers
eg.
$2a$12
prefix vs these that are fine
$2a$10
"errors": [
{
"code": "PATTERN",
"message": "Error in passwordHash property - String does not match pattern ^\\$2[ab]?\\$10+\\$[./A-Za-z0-9]{53}$: $2a$12$2FiyJRDlILafg.46m623KOj5IN1Xa2G9sllzVbVoT3uKbpfaoBLHC",
"path": "passwordHash"
}
]
We tried and tested your migration process a couple of months ago with no issues. This issue has surfaced last minute so could really use some help getting this over the line. Do you not allow passwords with cost 12?
I tested a bcrypt with 12 rounds , by importing a custom password hash for it, by the import/export extension and it seems to work correctly. It is supported there.
Generated the bcrypt from here:
Then imported the following sample json payload using the import extension: