Coder Social home page Coder Social logo

pypi.updateframework.com's People

Contributors

trishankkarthik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

pombredanne

pypi.updateframework.com's Issues

Realistic number of keys for every role

Presently, each role is limited to (t, n) = (1, 1) signatures. We need to design and implement a realistic number of keys required to sign for every role. This would probably need to happen in tandem with #1.

Stream generation of metadata

We should be smarter about how we generate the metadata.

For example, instead of generating the metadata for all /simple targets, followed by metadata for all /packages targets, we should instead do the following.

For each /simple target, generate its metadata, followed immediately by the metadata for all the packages of that simple target. This way, we can start "streaming" the completed PyPI packages as we generate metadata.

Realistic metadata expiry times

Presently, the metadata are designed to expire in a time long enough for a static data repository. This is convenient for a repository that never changes, but not for PyPI which continuously changes. We need to design and implement proper metadata expiry times for every role.

SSL support

We should turn on SSL for mirror1.poly.edu.

Keep passwords a secret

Presently, the passwords for roles are public knowledge. We need a way to keep passwords unpredictable and secret.

Keep mirror reasonably up-to-date with PyPI

Presently, our TUF-secured PyPI mirror is not kept reasonably up-to-date with the official PyPI index. We need to adapt the server automation to allow for the continuous release that this enhancement will require.

Distribute metadata of long-term target delegations

We should distribute comprehensive metadata of target delegations with TUF-enabled PyPI installers (e.g. pip).

What do I mean by this? Mustn't a TUF-enabled PyPI installer already come with basic metadata about targets? Yes, but then the first update will then be slow simply because we first have to download metadata about all the target delegations.

We can improve the initial update by distributing at least metadata about long-term target delegations, if not the latest the data about all the short-term target delegations (e.g. new versions of packages).

Explore sharing of keys for multiple packages

At the moment, we are studying the worst case of how much metadata would be required if we wanted every /simple target to be signed with its a unique key.

A more efficient method, albeit one which trades off some security, is to use a key to sign up to, say, 1,000 /simple targets and their corresponding /packages targets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.