| Summary: | [repository] MD5 artifact check not done on artifact after non-canoncial download | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Nigel Westbury <nigelipse> | ||||
| Component: | p2 | Assignee: | Pascal Rapicault <pascal> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | irbull, mn, pascal.rapicault, pascal, tjwatson | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=423715 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Nigel Westbury
Created attachment 201108 [details]
fix to check artifact MD5
The bug I intended to refer to in my original post above is bug 289351. Is there a particular reason why you think the MD5 check should not always be on? I had included a property in my patch to make the artifact MD5 check optional only because there was such a property for the download MD5 check. I don't know why the download MD5 check shouldn't always be done either except I suppose it can be turned off if a bad repository has incorrect MD5 values, plus if we do artifact checks then doing the download check too is not so necessary. I have just noticed bug 312802 where turning off the download MD5 check was suggested as a workaround (comment 1) and also comment 5 in the same bug suggesting artifact MD5 checks should be done but that a mis-match should only be a warning. My vote would certainly be to always do the artifact MD5 check (i.e. romove the property added in my patch) and to make a mis-match always an error because maintaining the integrity of repositories is important. Did this ever get released? It was marked M2, but still open. (In reply to comment #5) > Did this ever get released? It was marked M2, but still open. I don't think so Tom. I'm marking this as Kepler because there is a contribution. However, while checking the MD5 after we process (unzip) the non-canonical artifact seems like a great idea, it will likely lead to more cases of bad MD5 dues to Java 7 vs Java 6 jar processing (bug 361628). Will not be addressed in Luna. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |