Version 1 (modified by, 8 years ago) (diff)


Secure Updates Evaluation

Version evaluated was downloaded with Mercurial instructions from

hg clone

The Update Framework (TUF) changeset version for downloaded is 11.

The TUF page provided pointers to an example PyPI repository mirror that includes TUF metadata. The TUF page also includes an attachment for an example TUF PyPI client.

Time Frame: This evaluation took place on June 30, 2010.

Secure Updates Findings

Instruction were clear and straight forward, and are found at the TUF: The Update Framework site. The enclosed README give a pointer to the TUF site.

The example PyPI repository mirror was used to execute the run-time commands, no repository was set up for this evaluation.

One python path problem was encountered while trying to use the client which was resolved by unpacking the client first and then getting TUF in the same directory. This is capture in the section below.

Secure Updates How-to

Trying to use the client ran into python path issues which were resolved by unpacking the client first and then getting TUF in the same directory:

lnevers@sendaria:~$ tar xvzf tuf_pypi_example.tar.gz
lnevers@sendaria:~$ cd tuf_pypi_example
lnevers@sendaria:~/tuf_pypi_example$ hg clone

Once the tuf repo is inside the tuf_pypi_example directory, one can get listings of packages

lnevers@sendaria:~/tuf_pypi_example$ ./ list 3to2
[2010-06-30 11:15:02,519] [tuf] [INFO] Downloading

and download a package

lnevers@sendaria:~/tuf_pypi_example$ ./ download 3to2-0.1a3.tar.gz   
[2010-06-30 11:15:40,094] [tuf] [INFO] Downloading
[2010-06-30 11:15:40,329] [tuf] [INFO] Downloading
[2010-06-30 11:15:40,927] [tuf] [INFO] Correct hash: d48d764e781597644e8d41a83954cb62354c07d2c74abdd7e32e4d119d764636
Downloaded file: 3to2-0.1a3.tar.gz

Here is an example of a package without any updates:

lnevers@sendaria:~/tuf_pypi_example$ ./ list neveredit
[2010-06-30 11:20:20,567] [tuf] [INFO] Downloading
[2010-06-30 11:20:20,822] [tuf] [INFO] Metadata 'targets/n.txt' has changed
[2010-06-30 11:20:20,822] [tuf] [INFO] Downloading
[2010-06-30 11:20:21,578] [tuf] [INFO] Metadata 'targets/n/neveredit.txt' has changed
[2010-06-30 11:20:21,578] [tuf] [INFO] Downloading
No files are available for package neveredit