Provide a commandline utility to decode hash parameters #66
Labels
enhancement
Requests a new feature or improvement. Without "need more information", we agree it's desirable.
help wanted
The libxcrypt core developers do not plan to work on this themselves but would review a PR.
Each hash method has it's own way to encode parameters like cost and salt. For auditing and monitoring purposes it would be nice to have a generic tool which could decode them.
I think of something like this:
If I planned to transition to a more strict hashing policy, such a tool would be the base for a script which told me which users have to re-hash their password. Also I could monitor for salt reuse.
I know that there are plans to enforce hash policy with crypt.conf, but I think such a tool could be complementary as you won't be able to enforce a policy which excludes most of your users.
The text was updated successfully, but these errors were encountered: