[ 
https://issues.apache.org/jira/browse/SLING-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15407312#comment-15407312
 ] 

Tommaso Teofili commented on SLING-5941:
----------------------------------------

Hi [~simone.tripodi], I think the class {{DigestUtils}} is missing from your 
patch as it's referenced in e.g. {{FileDistributionPackageBuilder}} but I can't 
find it. Other than that the rest of the patch looks good.

bq.  if you can briefly explain me which are the components that receive the 
stream

{{DistributionPackageImporterServlet}} which then delegates to a 
{{DistributionPackageImporter}}.
Having it working with {{LocalDistributionPackageImporter}} would be enough in 
order to support the 'forward' distribution scenario.

> [SCD] Verify the uploaded distribution packages integrity via checksums
> -----------------------------------------------------------------------
>
>                 Key: SLING-5941
>                 URL: https://issues.apache.org/jira/browse/SLING-5941
>             Project: Sling
>          Issue Type: New Feature
>          Components: Distribution
>    Affects Versions: Content Distribution Core 0.1.18
>            Reporter: Simone Tripodi
>            Assignee: Tommaso Teofili
>            Priority: Minor
>             Fix For: Content Distribution 0.2.0
>
>         Attachments: SLING-5941.1.patch, SLING-5941.patch
>
>
> Currently, there is no way to understand if a received package is (not) 
> corrupted when transported, so adding a checksum generation/validation would 
> be a solution to this problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to