You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I package PAM integration and shadow for Arch Linux.
We are currently discussing the move to yescrypt and want to rely on PAM.
As integration with shadow's /etc/login.defs will remain though, we would love to see the possibility to also retrieve rounds from YESCRYPT_COST_FACTOR in /etc/login.defs.
Currently it appears that the rounds= parameter is supported for yescrypt:
ldv-alt
changed the title
Support reading YESCRYPT_COST_FACTOR from /etc/login.defs
pam_unix: Support reading YESCRYPT_COST_FACTOR from /etc/login.defs
Oct 4, 2023
Hi! I package PAM integration and shadow for Arch Linux.
We are currently discussing the move to yescrypt and want to rely on PAM.
As integration with shadow's /etc/login.defs will remain though, we would love to see the possibility to also retrieve
rounds
fromYESCRYPT_COST_FACTOR
in /etc/login.defs.Currently it appears that the
rounds=
parameter is supported for yescrypt:linux-pam/modules/pam_unix/support.c
Lines 188 to 195 in 77bd338
Seeing how an integration with /etc/login.defs is supported for SHA256 and SHA512
linux-pam/modules/pam_unix/support.c
Lines 101 to 111 in 77bd338
it would be amazing to also be able to use the same kind of integration for yescrypt!
The text was updated successfully, but these errors were encountered: