cr-marcstevens / sha1collisiondetection

Library and command line tool to detect SHA-1 collision in a file
Other
1.3k stars 179 forks source link

sha1.c: replace white/blacklist with allow/denylist #79

Open derrickstolee opened 2 years ago

derrickstolee commented 2 years ago

The words "whitelist" and "blacklist" have cultural implications that are not inclusive. The words "allowlist" and "denylist" are self-descriptive without requiring cultural implications to understand the words in context.

A similar set of changes were sent to the Git project, but in those cases the words could be removed by rephrasing the sentences that used them, increasing clarity. In this example, the terms are used concretely enough that rephrasing would decrease clarity. Thus, a relatively mechanical replacement was applied.

These changes only affect comment lines, nothing functional.


I was redirected here after trying to make similar changes in the Git codebase [1], forgetting that this file is maintained in this repository.

Thanks for considering this change!

[1] https://lore.kernel.org/git/pull.1274.v2.git.1657852722.gitgitgadget@gmail.com