diff options
| author | Dominyk Tiller | 2016-03-20 16:27:54 +0000 |
|---|---|---|
| committer | Xu Cheng | 2016-03-23 13:41:16 +0800 |
| commit | 760c596a8e75c6126e95cb9897eb9b66faffbb0c (patch) | |
| tree | 07ccee04b461b0cc5c82f2e6c6e5966c9fda5f54 | |
| parent | 478f18a8f57705a0c16b27b257f022f91c0b630b (diff) | |
| download | brew-760c596a8e75c6126e95cb9897eb9b66faffbb0c.tar.bz2 | |
Checksum_Deprecation: add guiding document
Closes Homebrew/homebrew#50282.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
| -rw-r--r-- | share/doc/homebrew/Checksum_Deprecation.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/share/doc/homebrew/Checksum_Deprecation.md b/share/doc/homebrew/Checksum_Deprecation.md new file mode 100644 index 000000000..d8ad81b85 --- /dev/null +++ b/share/doc/homebrew/Checksum_Deprecation.md @@ -0,0 +1,27 @@ +# Checksum Deprecation + +During early 2015 Homebrew started the process of deprecating _SHA1_ for package +integrity verification. Since then every formulae under the Homebrew organisation +has been moved onto _SHA256_ verification; this includes both source packages +and our precompiled packages (bottles). + +We also stopped supporting _MD5_ entirely. It was removed from core formulae in 2012 but until April 2015 if you tried to install a formula still using an +_MD5_ checksum Homebrew wouldn't actively stop you. + +On _SHA1_ we added a `brew audit` check that flags _SHA1_ checksums as deprecated +and requests that you use _SHA256_. + +We saw positive ecosystem engagement on moving from _MD5_ & _SHA1_ to the recommended _SHA256_ and thanks to that we're in a strong position to move forwards. + +## Moving forwards on SHA1. + +From March 20th 2016 we've stepped up the visibility of that notification & you'll start +seeing deprecation warnings when installing _SHA1_-validated formula. +If you see these please consider reporting it to where the formula originated. + +We're targeting **the end of September 2016** for _SHA1_ support removal, +19 months after we started warning people to move away from it for verification. +This will be enforced in the same way _MD5_ is today, by blocking the installation of that individual formula until the checksum is migrated. + +This means prior to that date custom taps, local custom formulae, etc +need to be migrated to use _SHA256_. |
