[v4] Refuse weak checksums for on-demand sync
Is your feature request related to a problem? Please describe.
md5 and sha1 are thoroughly broken at this point - we should rely on stronger checksums. We potentially run some conflict risks with on-demand packages.
Describe the solution you'd like
Start rejecting on-demand syncs if files depend on md5 or sha1 checksums - but perhaps allow this to be turned back off with a setting.
This is distinct from ALLOWED_CONTENT_CHECKSUMS because that will not allow even immediate syncs using those checksums as verification. In this case we want to allow immediate syncs, but disallow on-demand ones.
I'll strongly reinforce "allow to go back to current behavior with a setting" - if that's in place, I'm good with this.
+1 on a way to re-enable sha1, since Oracle still uses it :'(