JustinCappos
8edd0ddfe1
Update METADATA.md
2014-06-16 16:19:25 -04:00
JustinCappos
766f27f885
Update METADATA.md
2014-06-16 16:18:45 -04:00
Vladimir Diaz
68b2337fbf
Merge pull request #225 from vladimir-v-diaz/develop
...
Santiago's #224 pull request (with minor edit) and cosmetic edits to miscellaneous modules
2014-06-16 13:28:35 -04:00
vladdd
40a6539f45
Merge branch 'SantiagoTorres-generate_switches' into develop
2014-06-16 13:18:52 -04:00
vladdd
f0ac659110
Move optparse import statement.
...
Organize import statements of standard Python and TUF modules into separate blocks.
2014-06-16 13:11:35 -04:00
vladdd
f26f6dc4b2
Merge branch 'generate_switches' of https://github.com/SantiagoTorres/tuf into SantiagoTorres-generate_switches
2014-06-16 13:04:21 -04:00
vladdd
8a47f5fe4d
Minor cosmetic edits to formats.py
2014-06-15 22:02:07 -04:00
vladdd
b8578cfd37
Minor cosmetic edits to sig.py and util.py.
2014-06-14 20:31:21 -04:00
vladdd
3481586c87
Minor cosmetic edits to schema.py.
2014-06-13 18:27:57 -04:00
Santiago Torres
5a097faaf8
Added switches to the generate script
...
Added two switches to the generate script:
-k (or --keys), which forces the creation of new keys.
-d (or --dry-run), which skips the actual writing or copying phases
The second option might be useful in the future, and helped me debug the
optparse module, so I left it there.
2014-06-13 15:33:07 -04:00
dachshund
ac38e5518e
Acknowledge the NSF.
2014-06-13 11:44:46 +08:00
Vladimir Diaz
548663e389
Merge pull request #223 from vladimir-v-diaz/develop
...
Add missign test cases to download.py and updater.py.
2014-06-12 10:33:53 -04:00
Vladimir Diaz
e4c98d38ba
Add missing test cases for download.py and and updater.py.
2014-06-12 09:33:12 -04:00
Vladimir Diaz
bd2f510b6e
Merge pull request #222 from vladimir-v-diaz/develop
...
Add missing test conditions to test_repository_lib.py and minor edits to modules
2014-06-11 12:20:33 -04:00
Vladimir Diaz
0c6b360952
Add missing test conditions for test_repository_lib.py and minor edits to modules.
2014-06-11 11:29:00 -04:00
Vladimir Diaz
aa639d13f7
Merge pull request #220 from vladimir-v-diaz/develop
...
Allow proper loading of partial metadata, update requirement files, and minor edits to repository_lib.py and integration tests.
2014-06-10 10:21:03 -04:00
Vladimir Diaz
80915a194e
Cosmetic edits to repository_lib.py.
2014-06-10 09:38:06 -04:00
Vladimir Diaz
74c0120ed4
Increase sleep time after starting simple server in integration tests.
2014-06-10 09:26:09 -04:00
Vladimir Diaz
cbde52c0f7
Allow partial metadata to be properly loaded with zero good signatures.
...
Previously, the repository tool allowed partial metadata to be written with zero good signatues and later successfully loaded. However, the partial metadata was not properly marked by load_repository(). The 'partial_loaded' flag is now set (if partial metadata is written with zero good signatures) and matches the behavior of partial_write().
2014-06-10 08:47:10 -04:00
Vladimir Diaz
70a3510afc
Minor updates to requirement files.
2014-06-10 08:28:29 -04:00
Vladimir Diaz
1b323474e0
Merge pull request #219 from vladimir-v-diaz/develop
...
Remove tox.ini dependency, improve pycrypto_keys test coverage, and add missing download.py docstrings.
2014-06-09 13:34:09 -04:00
vladdd
15592b2e15
Add missing docstrings.
2014-06-09 12:34:58 -04:00
vladdd
31bfc5fce5
Remove incorrect dependency from tox.ini.
...
Adding 'unittest' to tox.ini fails for Python > 3.0 installations.
2014-06-08 22:19:37 -04:00
vladdd
9e0392bb80
Add missing test coverage for pycrypto_keys.py.
2014-06-08 22:16:43 -04:00
Vladimir Diaz
5fc8285115
Merge pull request #218 from vladimir-v-diaz/develop
...
Initial implementation of authoritative delegations.
2014-06-07 21:02:34 -04:00
vladdd
744be00cbc
Initial implementation of authoritative delegations.
2014-06-07 20:29:18 -04:00
vladdd
39e1e8b080
Add py26, py32, py33, py34 to setup.py.
2014-06-06 20:26:52 -04:00
Vladimir Diaz
61aecba391
Merge pull request #217 from vladimir-v-diaz/develop
...
Support Python 2 + 3
2014-06-06 20:24:03 -04:00
vladdd
546b1d69d6
Update py2.6 requirements in tox.ini.
2014-06-06 19:39:25 -04:00
vladdd
19c69487b0
Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop
2014-06-06 18:57:32 -04:00
vladdd
17b230abdd
Support Python 2.6.
2014-06-06 18:57:23 -04:00
Vladimir Diaz
1c1cd0f192
Update / fix remaining Python 2 + 3 doctests.
...
Remove test_slow_retrieval_attack.py print statements.
2014-06-06 08:37:31 -04:00
Vladimir Diaz
0e9a1de4b1
Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop
2014-06-06 07:33:11 -04:00
Vladimir Diaz
091cfe9aeb
Increase sleep time after starting simple server in affected tests.
2014-06-06 07:32:03 -04:00
vladdd
21bbbedbb8
Fix test_util.py test case failure in py2.7.
2014-06-05 19:09:45 -04:00
Vladimir Diaz
797bab5ddc
Fix Python 2 + 3 JSON consistency issue and re-generate repository data.
...
Explicitly specify the JSON separators for Python 2 + 3 consistency.
2014-06-05 11:17:30 -04:00
Vladimir Diaz
66f4b88ef2
Update repository tool diagram and coverage.
...
Fix text box alignment in diagram.
Omit coverage of repository tool prompt and getpass.
Minor coverage update.
2014-06-03 14:59:56 -04:00
Vladimir Diaz
fbb10a36c9
Refactor repository_tool.py and improve test coverage.
...
Created repository_lib.py.
2014-06-03 14:32:44 -04:00
Vladimir Diaz
80ad012bc3
Re-generate repository data.
2014-06-03 14:28:46 -04:00
Vladimir Diaz
65f30a7bd8
Improve test coverage.
...
Update unit tests for pycrypto_keys, schema, ed25519_keys, and affected modules.
2014-05-30 12:47:33 -04:00
Vladimir Diaz
dc167e4a27
Address Python 3.2 byte-string compatibility issues.
2014-05-29 12:59:36 -04:00
Vladimir Diaz
71b1d38c1b
Update slow retrieval server and fix integration tests.
...
Update the slow retrieval server, integration tests, and the download module to address issues with unexpected exceptions and bytes.
2014-05-28 12:11:31 -04:00
vladdd
6b8b2399a2
Finish unit tests for Python2 + 3 support.
...
All unit tests updated / running for Python 2 + 3.
TODO: Fix non-Python 3 issue with util.py.
2014-05-27 13:55:48 -04:00
vladdd
bc99524e2b
Finish initial refactor of slow retrieval attack.
2014-05-13 12:53:50 -04:00
vladdd
e4bd9a7ba2
[WIP] Refactor download.py
2014-05-11 22:59:42 -04:00
vladdd
c5fd17ab3e
Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop
...
Conflicts:
tests/test_hash.py
tests/test_keydb.py
tuf/formats.py
tuf/keydb.py
tuf/repository_tool.py
2014-05-10 20:26:06 -04:00
Vladimir Diaz
8684253675
[WIP] Python 2+3.
...
Mostly unicode-related changes for crypto modules.
2014-05-06 15:24:39 -04:00
Vladimir Diaz
3e2bcb1089
Merge pull request #213 from SantiagoTorres/expiration_timedelta_fix
...
Fixes wrong schema when adding an expiration that contains microseconds
2014-05-06 09:12:24 -04:00
Santiago Torres
13da4c5b4a
Updated side effects in the repository tool expiration setter
...
The expiration setter's docstring now mentions the fact that the
microseconds value in the given datetime object will be discarded if it
is non-zero.
2014-05-05 11:12:23 -04:00
Santiago Torres
84d676192f
Updated test case for the expiration setter (microseconds truncation)
...
The new test tries to make the fact that the datetime object given will
contain microseconds. It also tests for the fact that the microseconds
value is truncated after being set.
2014-05-05 11:10:40 -04:00