Commit graph

639 commits

Author SHA1 Message Date
dachshund
8d90f3ce43 Merge branch 'develop' into consistent-snapshots-specification 2014-01-06 16:32:47 -05:00
dachshund
a6aba55605 WIP on spec. 2014-01-05 18:08:39 -05:00
dachshund
3fa84d7a58 WIP on spec. 2014-01-05 18:07:32 -05:00
dachshund
c9ee77ee38 Merge remote-tracking branch 'upstream/develop' into develop 2013-12-03 18:11:00 -05:00
Trishank Karthik Kuppusamy
69fb92ddcb Merge pull request #161 from nekt/develop
Modified the maximum timestamp.txt size (fix #159).
2013-12-03 14:48:19 -08:00
Nektarios Tsoutsos
9f0f80fab4 Modified the maximum timestamp.txt size (#bug 159) 2013-12-03 16:46:24 -05:00
dachshund
ed4fe44530 Fix #150. 2013-11-28 11:22:50 -05:00
dachshund
4eeb8575de Fix #139. 2013-11-28 10:59:07 -05:00
PandaSPUR
17924213fd Update SlowRetrievalError
Updating on behalf of "Red Team" of App. Sec.
Undescriptive error found while testing gemsontuf.
2013-11-27 15:30:41 -05:00
Vladimir Diaz
56a4a44785 Update tuf-spec.txt 2013-11-20 21:15:43 -05:00
JustinCappos
a6ca35622a Update README.md 2013-11-05 19:41:07 -05:00
Vladimir Diaz
3b8ac77bd9 Merge pull request #131 from theupdateframework/ed25519
Add support for ed25519 signatures.
Reviewed by Monzur.
2013-10-15 07:23:56 -07:00
vladdd
a3351b5f34 Update ed25519_key.py following Monzur's review
We now raise an exception instead of blindly passing.  The previous behavior of expecting the caller to verify the availability of PyNaCl is not ideal.

Expanded the comments related to hexlifying data.

Renamed create_in_metadata_format() and create_from_metadata_format().
2013-10-15 10:22:17 -04:00
vladdd
4400f6a57e Merge branch 'develop' of https://github.com/theupdateframework/tuf into ed25519 2013-10-15 10:16:13 -04:00
Vladimir Diaz
088effe5ed Merge pull request #124 from theupdateframework/integration-tests-python3
Updates to integration tests
Python 3 compatibility changes to the integration tests reviewed by Zane.
2013-10-14 06:45:10 -07:00
vladdd
76d7796c4e Merge branch 'develop' of https://github.com/theupdateframework/tuf into integration-tests-python3 2013-10-14 09:36:29 -04:00
Vladimir Diaz
f8b781b19b Merge pull request #123 from theupdateframework/log
log.py updates
log.py changes reviewed by both Trishank and Monzur.
2013-10-14 06:24:14 -07:00
vladdd
dc84e051e6 Update the valid expiration data 2013-10-14 09:20:49 -04:00
Vladimir Diaz
36951b8f61 Update AUTHORS.txt 2013-10-09 14:29:06 -04:00
Vladimir Diaz
d8052d13a4 Update README.md 2013-10-09 14:28:16 -04:00
vladdd
9bfba3ddda Reword comment and fix typo in ed25519_key.py 2013-10-02 11:38:42 -04:00
vladdd
213b96dfea Update comments and schema type checked
Expand the comments on 'logging.Formatter.converter' to discuss the converter attribute.  Modify LENGTH_SCHEMA to LOGLEVEL_SCHEMA.
2013-10-01 15:33:39 -04:00
vladdd
e07bd128b9 Add LOGLEVEL_SCHEMA to tuf.formats
log.py previously checked the format of log level arguments with LENGTH_SCHEMA.  LOGLEVEL_SCHEMA might be clearer.
2013-10-01 15:28:38 -04:00
vladdd
8be86db7ad Fix encoding of the seed and signature variable name 2013-10-01 12:23:40 -04:00
vladdd
e03f66653c Update docstrings and comments following pynacl changes 2013-09-30 14:59:50 -04:00
vladdd
77218c8abd Modify print message in time_ed25519.py 2013-09-30 11:47:29 -04:00
vladdd
2a08c2c263 Add doctests for PyNaCl and fix verify_signature()
If 'use_pynacl=True' is specified and the signature is invalid, verify_signature() raised 'nacl.signing.CryptoError'.  verify_signature() should instead return 'False', to follow the same bahavior of this function when 'use_pynacl=False'.
2013-09-30 11:44:35 -04:00
vladdd
4dd6d33c34 Update time_ed25519.py following addition of PyNaCl support 2013-09-30 10:46:54 -04:00
vladdd
9e3bdcf604 Add support for PyNaCl
Update generate(), create_signature(), verify_signature() to support PyNaCl.  Caller may optionally generate and create+verify signatures more quickly with 'use_pynacl=True'.
2013-09-30 10:43:36 -04:00
vladdd
5bb053c3bf Perform minor code edits
Add missing letters from the alphabet to 'data' and update import statements.
2013-09-27 10:32:37 -04:00
vladdd
a32210ed02 Add ed25519_key.py timing script
Time generate(), create_signature(), and verify_signature().
2013-09-26 15:00:49 -04:00
vladdd
ecc481d455 Add doctest examples 2013-09-26 14:16:17 -04:00
vladdd
20cd0f55b8 Continue support for 'ed25519' signatures
Support added for generate(), create_in_metadata_format(), create_from_metadata_format(), create_signature(), and verify_signature().
2013-09-26 10:02:14 -04:00
vladdd
0fcbb1ec63 Add ED25519KEY_SCHEMA to tuf.formats 2013-09-24 15:13:21 -04:00
vladdd
c29a40cff1 [WIP] Support ed25519 signatures 2013-09-24 14:55:37 -04:00
vladdd
206e448bc3 Add the Python implementation of the ed25519 signature scheme
ed25519 is an elliptive-curve public key signature scheme.
http://ed25519.cr.yp.to/
2013-09-24 10:06:19 -04:00
vladdd
57e7b38d18 Merge branch 'pbkdf2-iterations-vary', remote-tracking branch 'origin' into integration-tests-python3 2013-09-24 09:45:06 -04:00
vladdd
402131e855 Merge branch 'pbkdf2-iterations-vary', remote-tracking branch 'origin' into log 2013-09-24 09:44:15 -04:00
vladdd
4e6c46364d Fix modified (accidently) variable name in keystore.py 2013-09-24 09:36:55 -04:00
vladdd
c3a358ed17 Update comments about thread safety 2013-09-23 21:35:14 -04:00
vladdd
e848dac0f3 test_slow_retrieval_attack.py: Python 3 compatability
Fixed indentation and outdated comment.
2013-09-23 21:23:26 -04:00
vladdd
fc08f5181b test_replay_attack.py: Python 3 compatability
Also fix indentation.
2013-09-23 21:18:52 -04:00
vladdd
f62ed3a019 test_mix_and_match_attack.py: Python 3 compatability 2013-09-23 21:16:55 -04:00
vladdd
7c882b70c7 test_indefinite_freeze_attack.py: Python 3 compatability 2013-09-23 21:13:34 -04:00
vladdd
2f32ea9424 test_extraneous_dependencies_attack.py: python 3 compatability
Also fix print statements.
2013-09-23 21:07:35 -04:00
vladdd
67b886d5e0 test_endless_data_attack.py: Fix indentation
Also help with Python 3 compatability.
2013-09-23 21:02:17 -04:00
vladdd
3f41b96f7f Fix extraneous new lines in test_delegations.py 2013-09-23 20:55:34 -04:00
vladdd
0a94661d99 Fix print statements and help with python 3 compatability
test_arbitrary_package_attack.py.
2013-09-23 20:52:16 -04:00
vladdd
de6a5161c4 Add missing docstring to remove_console_handler() and minor edits 2013-09-23 19:54:47 -04:00
vladdd
c65a1aaf38 Fix link that discusses setting the time for all logging formatters 2013-09-23 19:33:25 -04:00