Commit graph

1590 commits

Author SHA1 Message Date
Vladimir Diaz
42a89063d3 Ignore coverage files stored in 'htmlcov/*'. 2014-08-20 12:24:54 -04:00
Vladimir Diaz
5b09f56b9a Merge pull request #248 from vladimir-v-diaz/develop
Properly load the paths of nested delegations.
2014-08-20 10:29:11 -04:00
Vladimir Diaz
0952cd7760 Properly load the paths of nested delegations.
Fix issue reported by Andrew: load_repository() fails to load the paths of nested delegations.
2014-08-20 09:49:57 -04:00
Vladimir Diaz
76f74bbfe8 Merge pull request #247 from vladimir-v-diaz/develop
Disable the 'iso8601' logger.
2014-08-20 08:35:49 -04:00
Vladimir Diaz
f5588e4fa0 Disable 'iso8601' logger.
Disable 'iso8601' logger messages so that the log file only contain TUF-related messages.
2014-08-20 07:52:24 -04:00
Vladimir Diaz
7e67e8a9d1 Merge pull request #246 from vladimir-v-diaz/develop
Fix default console log level so that status() prints INFO-level messages
2014-08-19 17:47:19 -04:00
Vladimir Diaz
68b3344368 Fix default console log level so that status() prints INFO-level messages.
The default log level was switched to WARNING but prevents status() from printing messages as expected.
Modify the log level of 'Saving <role>.json' message so that it doesn't clog status().
Thank you @hrdarji for testing the documentation and reporting the non-printing behavior of status().
2014-08-19 15:20:59 -04:00
Vladimir Diaz
1a8080ef6d Merge pull request #245 from vladimir-v-diaz/develop
Address issue #244.
2014-08-11 12:23:21 -04:00
Vladimir Diaz
38005fe2ab Address issue #244.
Fix issue where hash algorithm name is prepended to the consistent snapshot filename.  The actual hash value should be prepended instead.
2014-08-07 16:02:35 -04:00
Pankhuri Goyal
1a5a746df2 Add purpose to tuf.interposition.README 2014-08-04 17:24:42 -04:00
Pankhuri Goyal
ccaa3ad648 Add purpose to tuf.interposition.README 2014-08-04 17:18:39 -04:00
Pankhuri Goyal
a514546187 Docstrings of tuf.interposition.updater completed 2014-08-04 16:18:53 -04:00
Pankhuri Goyal
1f9d7e6a70 Add exceptions to the methods of tuf.interposition.updater.Updater 2014-08-04 16:07:53 -04:00
Pankhuri Goyal
2a83d83ad7 Extend purpose of tuf.interposition.updater and change format style of Logger
format in Logger is changed to 'msg'+repr()
2014-08-04 14:18:43 -04:00
Pankhuri Goyal
56b942a341 Changes in the error name in tuf.__init__ 2014-08-01 13:46:26 -04:00
Pankhuri Goyal
d2bb3cb136 Changes in error name in tuf.interposition.configuration 2014-08-01 13:41:48 -04:00
Pankhuri Goyal
750b9b3bea Changes in error name in tuf.interposition.__init__ 2014-08-01 13:40:08 -04:00
Pankhuri Goyal
9aacb66d41 Changes in error name in tuf.interposition.updater 2014-08-01 13:32:14 -04:00
Pankhuri Goyal
b1636a062a Change tuf.interposition.UpdaterController to tuf.interposition.updater.UpdaterController 2014-08-01 12:05:15 -04:00
Pankhuri Goyal
513e051296 Changes in tuf.interposition.configuration
Instead of making a set of repositiory mirror hostname,
a set of repository mirror network location is created.
2014-07-31 18:43:15 -04:00
Pankhuri Goyal
0514e66658 Made following changes in tuf.interposition.updater
Added comments in tuf.interposition.UpdaterController
Changed the code depending on configuration.hostname to configuration.network_location
2014-07-31 18:37:56 -04:00
Pankhuri Goyal
97d88d29c2 Removed the repeated sentences in comments in tuf.interposition.__init__ 2014-07-31 18:32:02 -04:00
Pankhuri Goyal
da7a8faa49 Few changes in tuf.interposition.__init__
Made few changes after adding InvalidConfiguration Exception into tuf.__init__
Also made changes in comments
2014-07-31 18:24:44 -04:00
Pankhuri Goyal
03164345e6 Add an InvalidConfiguration exception class in tuf.__init__ 2014-07-31 18:14:48 -04:00
Pankhuri Goyal
572e0c6079 Add interposition exception error classes in tuf.__init__ 2014-07-30 15:31:35 -04:00
Pankhuri Goyal
ca81096c8c Remove Logger from configuration.py and add Python 3 compatibility 2014-07-30 14:48:46 -04:00
Pankhuri Goyal
cb0ce7ee27 Removed tuf.interposition.utility file and added exceptions and Looger in interposition.updater 2014-07-30 14:18:36 -04:00
Vladimir Diaz
08b2a68d6c Merge pull request #240 from vladimir-v-diaz/develop
Bump version number to 0.9.9
2014-07-23 09:47:44 -04:00
Vladimir Diaz
fb12ca8256 Update README.md
Format basic_client.py output block.
2014-07-22 09:58:46 -04:00
Vladimir Diaz
2df2695f93 Update README.rst
Add paragraph to "Using TUF" section.
2014-07-21 21:18:00 -04:00
vladdd
b9b575c0e0 Bump version for PEM and installation instructions fixes. 2014-07-20 23:39:55 -04:00
Vladimir Diaz
30f551131f Update test_keys.py
Strip PEM footer and reorder PEM header / footer test conditions.
2014-07-19 08:52:57 -04:00
Vladimir Diaz
d7bc32802d Merge pull request #239 from vladimir-v-diaz/develop
Review and update Pull Request #238.
2014-07-18 16:13:54 -04:00
vladdd
4a6139207e Merge branch 'meskio-clean_keys' into develop 2014-07-18 15:24:54 -04:00
vladdd
3fd6839c2b Add test case for keys.formats_rsakey_from_pem()
Add test_formats_rsakey_from_pem() test case and test conditions for improperly formatted PEM.
Add test condition to verify trailing whitespace is removed and matches the expected PEM format generated
internally.  Public PEMs generated externally (with the expected trailing newline) was not previously considered.
2014-07-18 15:24:10 -04:00
vladdd
95ab4e3172 Replace re.sub() with string.index()
re.sub() with the 'flags' keyword argument caused type error in Python 2.6.
Converted PEM validation to use index() to address issue above.
Raise specific exception depending on missing header / footer.
Check footer follows header.
2014-07-18 15:19:04 -04:00
Ruben Pollan
53ff336468 Clean up pem keys
A change of line or any other character outside the public key makes
changes the keyid and breaks the behaviour of TUF. Remove everything
before '-----BEGIN PUBLIC KEY-----' and after
'-----END PUBLIC KEY-----'.
2014-07-17 13:37:31 -05:00
Vladimir Diaz
377f72284d Update README.rst
Add missing hyphen.  Correct install option should be "--no-use-wheel"
2014-07-17 08:02:51 -04:00
Vladimir Diaz
cd8f5534c4 Merge pull request #237 from vladimir-v-diaz/develop
Fix link and spacing.
2014-07-16 18:38:16 -04:00
vladdd
8a00ee7514 Fix link and spacing.
Fix link added to README.rst so that it is properly formatted for PyPI.
2014-07-16 18:37:35 -04:00
Vladimir Diaz
254768faf2 Merge pull request #236 from vladimir-v-diaz/develop
Update README + setup.py and add setup.cfg + MANIFEST.in for pre-release 0.9.8
2014-07-16 18:20:25 -04:00
vladdd
1eb3a887f1 Fix malformed link in README.
Add note about installing non-wheel package before tuf[tools] for pip <= 1.5.4
2014-07-16 17:21:49 -04:00
Vladimir Diaz
c20fd4afa8 Update release files. 2014-07-16 12:51:35 -04:00
Vladimir Diaz
4545d00519 Fix indentation in README.rst 2014-07-16 12:46:13 -04:00
Vladimir Diaz
926684f424 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-16 12:32:52 -04:00
Vladimir Diaz
2c1d1875c4 Update README.rst
Fix links in "Instructions for Contributors."
2014-07-16 12:32:46 -04:00
Vladimir Diaz
7540fb1f22 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-16 12:05:48 -04:00
Vladimir Diaz
a96957ca44 Update README.rst
Add full links for METADATA and SECURITY.
2014-07-16 12:05:02 -04:00
Vladimir Diaz
f68db4dfb5 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-16 11:55:11 -04:00
Vladimir Diaz
0fdb0abe2f Update README.rst
Add full links.
2014-07-16 11:55:02 -04:00