Vladimir Diaz
39535f82e1
Do not store exception messages in temporary variables
2016-01-28 14:39:43 -05:00
David Halls
c859eeb258
Address code review comments
2016-01-13 23:02:17 +00:00
Vladimir Diaz
e9b2271e6d
Check the format of 'data' arguments in pycrypto_keys.py
2015-08-31 15:33:51 -04:00
Vladimir Diaz
bfb4399a49
Encode signatures in pycrypto_keys.py to match pyca_crypto_keys.py
2015-08-26 11:46:46 -04:00
Vladimir Diaz
e5c9d74e85
Remove reference to keystore.py
2015-06-10 17:09:57 -04:00
Vladimir Diaz
2f49561aa4
Protect against timing attacks when comparing digests
...
Thank you Marcin W. for spotting this.
2015-05-04 23:07:52 -04:00
Vladimir Diaz
110c8a196b
Improve code coverage for updater.py
2015-04-06 20:05:41 -04:00
Vladimir Diaz
55e9e952b6
Improve code coverage for pycrypto_keys.py
2015-04-02 16:35:45 -04:00
vladdd
7be31965e7
Minor edits.
2014-06-29 21:33:22 -04:00
vladdd
9e0392bb80
Add missing test coverage for pycrypto_keys.py.
2014-06-08 22:16:43 -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
fbb10a36c9
Refactor repository_tool.py and improve test coverage.
...
Created repository_lib.py.
2014-06-03 14:32:44 -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
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
Vladimir Diaz
8684253675
[WIP] Python 2+3.
...
Mostly unicode-related changes for crypto modules.
2014-05-06 15:24:39 -04:00
Vladimir Diaz
ab95a4b3aa
[WIP] Python 2+3 support.
...
Python 2+3 unicode.
libraries.
The following modules (and their tests) work in PY2.7+3.3:
keydb, hash, formats, mirrors
2014-04-29 14:27:34 -04:00
Vladimir Diaz
a7f28b9af4
[WIP] Python 2+3 support.
...
Add six, convert PY <=2.5 exception handling, dictionary iteration, libraries, 1/2 the tests.
2014-04-22 15:03:42 -04:00
vladdd
0f3cdd9f61
Continue updating test_repository_tool.py.
...
Add test cases for the crypto funtions (e.g., generate_and_write_ed25519_keypair()).
Add test case for get_metadata_filenames().
Add test case for get_metadata_fileinfo().
Add setUpClass() and tearDownClass().
Update affected functions that failed testing, and any that needed modifying (such as util.py).
2014-04-07 20:21:39 -04:00
vladdd
784b3bcf46
Update modules reviewed by Monzur.
...
Update keys.py and pycrypto_keys.py following Monzur's code review.
Update affected modules.
2014-02-25 20:33:48 -05:00
Vladimir Diaz
8a805bdc3f
Fix pycrypto_keys.py header block, libtuf.py doc update, and minor formats.py schemas edit
2013-12-20 12:47:27 -05:00
Vladimir Diaz
d27543258e
Update libtuf.py documentation and address issues #143 and #144
...
Add support for encrypted (and public ed25519 keys) TUF key files.
Add support for ed25519 keys, signatures, and key files in libtuf.py.
Update libtuf.py diagram.
Move canonical encoding operations to the create and verify key functions.
2013-12-16 08:45:40 -05:00
Vladimir Diaz
7a08bad781
Continue documentation effort and fix outdated libtuf.py
2013-12-11 14:14:16 -05:00
Vladimir Diaz
68eedeb477
Initial commit for Issue #143 and #144
2013-12-09 11:11:23 -05:00
Vladimir Diaz
c58906f9c2
Fix for issue #153
...
Update the key modules and their unit tests so that only the signature scheme is included in the signature label.
PyCrypto-PKCS#1 PSS -> RSASSA-PSS
ed25519-python and ed25519-pynacl -> ed25519
2013-11-27 12:11:16 -05:00
vladdd
8a7d0d4baf
Update docstrings and comments in pycrypto_keys.py
...
Minor change to function names and argument validation.
2013-10-17 12:56:58 -04:00
vladdd
81a15147b2
Add remaining test cases in test_pycrypto_keys.py
2013-10-11 10:15:09 -04:00
vladdd
31d603c710
Update all unit tests affected by configurable crypto
...
Add separate 'tuf.conf.py' options for key types.
2013-10-10 12:19:46 -04:00
vladdd
cc87d4fdb8
Add missing doctests to keys.py and pycrypto_keys.py
2013-10-09 11:21:09 -04:00
vladdd
115d844a57
Fix import, doctests, and function parameters in keys.py
2013-10-09 09:19:08 -04:00
vladdd
5622e0c622
Commence configurable crypto changes
...
Refactored the majority of affected modules. Added optimized version of the reference implementation of ed25519.
2013-10-08 13:09:59 -04:00