Re: packages, libfetch, and SSL



On 21/10/2007, David E. Thiel <lx@xxxxxxxxxxx> wrote:

The lowest-impact way to fix this, I think, is to use SSL for pkg_adds.
There are a couple of things that would need to change to make this
happen.

You can't (easily) cache data over SSL. Well, you can't use a HTTP
proxy that doesn't break the SSL conversation and cache the updates.

As someone who occasionally makes sure that distribution updates
through a Squid proxy actually caches said updates, I'd really prefer
you didn't stick package contents behind SSL.

Now, we could take another approach of PGP-signing packages instead, but
all the efforts I've seen to integrate PGP with the package management
system in the past haven't gone anywhere. The changes above seem to be
a bit more trivial than inventing a package-signing infrastructure and
putting gpg or a BSD-licensed clone into base. Perhaps using SSL to sign
packages and having a baked-in key would work as well.

Considering its a solved problem (mostly!) in other distributions, and
their updates are very cachable, why not do this?




Adrian


--
Adrian Chadd - adrian@xxxxxxxxxxx
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: packages, libfetch, and SSL
    ... proxy that doesn't break the SSL conversation and cache the updates. ... As someone who occasionally makes sure that distribution updates ... you didn't stick package contents behind SSL. ...
    (freebsd-hackers)
  • Re: packages, libfetch, and SSL
    ... proxy that doesn't break the SSL conversation and cache the updates. ... As someone who occasionally makes sure that distribution updates ... you didn't stick package contents behind SSL. ...
    (freebsd-hackers)
  • SuSE Security Announcement: openssl (SuSE-SA:2002:027)
    ... affecting the SSL implementation, as well as a signedness issue ... the SSL enabled service is running. ... we recommend all users to update their openssl package. ... Pending vulnerabilities in SuSE Distributions and Workarounds: ...
    (Bugtraq)
  • [Full-Disclosure] SuSE Security Announcement: openssl (SuSE-SA:2002:027)
    ... affecting the SSL implementation, as well as a signedness issue ... the SSL enabled service is running. ... we recommend all users to update their openssl package. ... Pending vulnerabilities in SuSE Distributions and Workarounds: ...
    (Full-Disclosure)
  • Re: Python does not play well with others
    ... to OpenSSL, and they're all broken in some important way. ... What's actually needed on the SSL side, I think, is to ... Then move over the Python portions of M2Crypto. ... The built in SSL package doesn't actually validate anything, ...
    (comp.lang.python)