Verification of a deployed artifact
------------------------------------
Key: MRM-1351
URL: http://jira.codehaus.org/browse/MRM-1351
Project: Archiva
Issue Type: Improvement
Affects Versions: 1.3
Reporter: Marc Lustig
Priority: Critical
Currently, Archiva verifies a deployed artifact only by comparing the
content-length HTTP header with the actual file-size of the uploaded file.
To better prevent corrupt artifacts, it would help to verify the integrity of
the artifact by comparing its local hashcode (sha1 or md5) with the one that
has just been generated in Archiva.
In case the hashes differ,
a) an HTTP 400 status should be returned
b) an error should be logged.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira