Add yescrypt support for pw_hash function#1458
Add yescrypt support for pw_hash function#1458teluq-pbrideau wants to merge 4 commits intopuppetlabs:mainfrom
Conversation
|
I deployed this change in my environment, had no problem in development, but now I observe crash of the puppetserver once in a while in a test environment when I execute an agent with this new hash function Not sure what the problem is, but it is clearly not ready for production use! |
|
OK, problem was not with the function, but with what I was passing to the function. I was within an No problem since removing the unwrap: I haven’t tested, but I suspect this is also a problem with other hash algorithms. |
|
Hi, Thanks for your job :-) |
Summary
Add support for yescrypt hashing algorithm in the pw_hash function.
Additional Context
The underlying OS must support
yescrypt. For exemple, it does not work on RockyLinux 8, because libxcrypt does not support it, but it does work in RockyLinux 9.Related Issues (if any)
#1445
Checklist
puppet apply)