RE: https://framapiaf.org/@davidrevoy/117564124799335892 My summary of the story...

@eliocamp@mastodon.social

RE: framapiaf.org/@davidrevoy/1175

My summary of the story

Hash library: If the input is invalid, let's return something that is not a valid hash instead of an error. Anyone comparing the result with a valid hash will get a mismatch and everything will be alright.

Distro maintainer: if the user has no password, let's just store an invalid hash. Anyone comparing it with the output of a hash function will get a mismatch and everything will be alright.

Narrator: It wasn't alright.