On 14 March 2017 at 15:48, Glyph Lefkowitz <gl...@twistedmatrix.com> wrote:

>
> 2. Except, as stated - i.e. hashes without signatures - this just means we
> all trust Github rather than PyPI :).
>

Yeah, HTTPS would still be a common point of compromise - that kind of
simple scheme would just let the repo hosting and PyPI serve as
cross-checks on each other, such that you had to compromise both (or the
original publisher's system) in order to corrupt both the published
artifact *and* the publisher's record of the expected artifact hash.

It would also be enough to let publishers check that the artifacts that
PyPI is serving match what they originally uploaded - treating it as a QA
problem as much as a security one.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to