On Sat, Jul 12, 2014 at 10:55 AM, Alex Harui <aha...@adobe.com> wrote:

> The Installer 3.1 uses MD5 checksums on many of its downloads to verify
> their accuracy.  The checksums for Google Closure Library, Adobe AIR SDK
> and playerglobal.swc change every once in a while and that breaks installs
> until we find out, download the file, compute the new checksum and update
> the sdk-installer-config-4.0.xml file on the web-site.
>
> Is there a way we can automate that?  The Adobe AIR SDK is over 200MB
> (times 2 platforms) so it would be a lot of bandwidth to keep downloading
> it.  Is it possible to implement quicker check the way browsers verify
> what is in their caches?
>
>
Technically, yes we can automate it by creating a Jenkins job on one of our
servers to just calculate a checksum of a downloaded file.  We can make the
.MD5 file publicly available that the Installer could use.  This would be a
one time set up.  We can probably run the job once a day.

But I question the need for this. Normally checksums are created from the
source.  The act of downloading to your computer (manually or automatically
via a job) could corrupt the file   If you compute the checksum on a
corrupted file and use that to verify subsequent downloads from a server,
that defeats the purpose.

Either we ask Adobe, Google etc. to upload checksums which we can directly
download from the Installer and verify them.  Or we skip verification of
checksums of binaries that don't originate from ASF servers/mirrors.

Thanks,
Om



> Thoughts?
> -Alex
>
>

Reply via email to