Skip to content
Snippets Groups Projects
Commit 4f74e891 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: deprecate sha1 always.


Rather than just when --strict is set. We're asking people to do these
on most PRs now anyway so feels better to let them find this out with
`brew audit`.

Closes Homebrew/homebrew#41523.

Signed-off-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent e949a5fd
No related branches found
No related tags found
No related merge requests found
......@@ -947,12 +947,8 @@ class ResourceAuditor
problem "MD5 checksums are deprecated, please use SHA256"
return
when :sha1
if ARGV.include? "--strict"
problem "SHA1 checksums are deprecated, please use SHA256"
return
else
len = 40
end
problem "SHA1 checksums are deprecated, please use SHA256"
return
when :sha256 then len = 64
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment