Hey guys,
Actually we do generate MD5's for everything we pack. The download
page lists the MD5 checksum for each package and the auto updater also
verifies the checksum of the zip file before attempting to patch.
Currently, auto updates are not served from our servers but from
Github's (
cloud.github.com). Since they've now switched everything to
HTTPS I guess we should also take advantage of it and fetch the
packages using HTTPS. However:
$ wget
https://cloud.github.com/downloads/tomas/prey/prey-updater-for-0.4.4.zip
--2010-12-23 17:38:11--
https://cloud.github.com/downloads/tomas/prey/prey-updater-for-0.4.4.zip
Resolving cloud.github.com... 216.137.33.87, 216.137.33.223,
216.137.33.17, ...
Connecting to
cloud.github.com|216.137.33.87|:443... connected.
ERROR: certificate common name `*.
cloudfront.net' doesn't match
requested host name `
cloud.github.com'.
To connect to
cloud.github.com insecurely, use `--no-check-
certificate'.
Tom
On Dec 21, 3:48 am, Drew Reece <
dru...@gmail.com> wrote:
> Setting up https seems like a good idea, perhaps the built in autoupdate feature should only use the https url to reduce the risks of man in the middle attacks inserting their own code for an update.
Actually patches for updates are fetched from Github
(
cloud.github.com) which supports SSL so there's
>
> MrElvey, check out prey/core/updater the updates are MD5'd, I guess it just isn't pointed out anywhere in the Prey docs & site. Using MD5 is no excuse for not using https too, it just adds another layer.
>
> Drew
> On 20 Dec 2010, at 22:07, MrElvey wrote:
>
>
>
>
>
> > On Dec 9, 6:15 am, Tomás Pollak <
tomaspol...@gmail.com> wrote:
> >> I haven't read the paper but I guess you're right. I've been thinking
> >> of adding torrents as a method of distribution. Would that make you
> >> feel more secure?
>
> > Tomás,
>
> > You can find the paper I mentioned free online; ask google.
>
> > Apple has a relevant article here:
> >
http://developer.apple.com/library/mac/#documentation/Security/Concep...