doc patch: note that hashes are rendered in "PHC string format"#3
Conversation
and add a link to the spec. At least I assume that "PHC" is what you mean by the current (slightly cryptic (sorry..)) wording "in crypt format"'
PHC is a subset of crypt format that all new hashes should use, but that doesn't mean that all of them do (in particular bcrypt doesn't). It would probably be more truthful to say it uses Modular Crypt Format. |
|
Probably true, but when trying to figure out the difference between the RFC2307 format (used by Authen::Passphrase) and the output of This is why I would love to have a bit more info instead of "in crypt format". But then maybe I should just learn what that "in crypt format" is a well enough definition :-) So, yeah, link to PHC or MCF or ignore that PR, there really is no perfect solution as there is no real spec for "crypt format" :-) |
It's deliberately a bit fuzzy because the exact definition really depends on the backend that's used. It is all more of a convention than a rule, there's nothing that actually prevents a backend from using the RFC2307 format. You could probably even write a wrapper that converts the crypt format to RFC2307 if you need it. |
and add a link to the spec. At least I assume that "PHC" is what you mean by the current (slightly cryptic (sorry..)) wording "in crypt format"'