Closed estebanz01 closed 12 months ago
@jeremyevans not sure if you get a notification for open PRs, so I'm going to ping you here 😅 sorry for any duplicated alerts.
Looks good, thanks for the patch! I'll do some testing locally and merge if there are no problems.
I do get notified about open PRs, otherwise it would be difficult to ensure that all PRs are addressed quickly.
Squash merged at 49ffc7ee22fd95e4b3dfa086e2629ca3666f8de9
Based on a discussion on #349 where I ran into a small issue when a custom hash cost for argon2 was specified, this PR implements the explicit usage of the
p_cost
attribute that can be defined when hashing passwords with this particular algorithm.I didn't run any linter on my changes as I'm not sure which one is used or if there's some specific configuration I need to have.
All test passed on postgresql and ruby 3.2.2, but I can try other versions/databases if needed.