vladdd
1b367116da
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:58:41 -04:00
vladdd
19fae3c908
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:58:41 -04:00
vladdd
c99a8d1a0c
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:56:33 -04:00
vladdd
55c343394a
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:56:33 -04:00
vladdd
0e2f59eb4b
Update rsa_key.py and keystore.py with final PyCrypto major changes
...
rsa_key.py was modified to generate and verify RSASSA-PSS signatures instead of RSASSA-PKCS1-v1_5. Optional functions to read and save passphrase-protected PEM files also added to rsa_key.py. keystore.py was modified to generate encrypted .key files (similar scheme as before) with PyCrypto to support uniform encryption of varied key types. User passwords are no longer temporarily stored, but used to derive a symmetric key with PBKDF2. The derived key is then used with AES-256-Mode-CTR to generate the encrypted key data. Affected unit tests updated.
2013-08-29 09:28:03 -04:00
vladdd
fe27f24eac
Update rsa_key.py and keystore.py with final PyCrypto major changes
...
rsa_key.py was modified to generate and verify RSASSA-PSS signatures instead of RSASSA-PKCS1-v1_5. Optional functions to read and save passphrase-protected PEM files also added to rsa_key.py. keystore.py was modified to generate encrypted .key files (similar scheme as before) with PyCrypto to support uniform encryption of varied key types. User passwords are no longer temporarily stored, but used to derive a symmetric key with PBKDF2. The derived key is then used with AES-256-Mode-CTR to generate the encrypted key data. Affected unit tests updated.
2013-08-29 09:28:03 -04:00
dachshund
5795348d51
Merge #96 .
2013-08-28 16:40:13 -04:00
dachshund
13123f39aa
Merge #96 .
2013-08-28 16:40:13 -04:00
dachshund
0eb31e05a8
Merge branch 'develop' into refactor-download-update
...
Conflicts:
tuf/client/updater.py
tuf/tests/test_download.py
tuf/tests/test_updater.py
2013-08-28 13:44:21 -04:00
dachshund
4b555f6c1d
Merge branch 'develop' into refactor-download-update
...
Conflicts:
tuf/client/updater.py
tuf/tests/test_download.py
tuf/tests/test_updater.py
2013-08-28 13:44:21 -04:00
zhengyuyu
dcae72c19d
delete signal import
2013-08-28 05:53:00 -04:00
zhengyuyu
6638089b99
Fix the slow retrieval attack issue
...
download.py:Add a timeout and rewrite the _fileobject.read()
test_slow_retrieval_attack.py:Add a new kind of slow retrieval attack
slow_retrieval_server.py:Modification for new kind of slow retrieval attack
2013-08-28 05:43:47 -04:00
ttgump
74c1d29a37
Update fix for endless-data-attack test.
2013-08-27 17:02:42 -04:00
ttgump
2048a3eccb
Update fix for endless-data-attack test.
2013-08-27 17:02:42 -04:00
ttgump
a50f759370
Merge remote-tracking branch 'upstream/develop'
...
Conflicts:
tuf/tests/system_tests/test_endless_data_attack.py
2013-08-27 15:59:32 -04:00
ttgump
978b83cb57
Merge remote-tracking branch 'upstream/develop'
...
Conflicts:
tuf/tests/system_tests/test_endless_data_attack.py
2013-08-27 15:59:32 -04:00
dachshund
76971e0e0d
Undo a line in tuf.log.
2013-08-27 15:22:08 -04:00
dachshund
fe84ae3fdb
Undo a line in tuf.log.
2013-08-27 15:22:08 -04:00
dachshund
5cdffa5bd7
Import chain-of-trust function from @vladdd.
2013-08-27 15:13:55 -04:00
dachshund
fd39de6665
Import chain-of-trust function from @vladdd.
2013-08-27 15:13:55 -04:00
dachshund
982684365a
Merge branch 'chain-of-trust' into path_hash_prefix
2013-08-27 14:54:06 -04:00
dachshund
1b21791961
Merge branch 'chain-of-trust' into path_hash_prefix
2013-08-27 14:54:06 -04:00
dachshund
9943599aab
Merge branch 'develop' into chain-of-trust
...
Conflicts:
tuf/log.py
2013-08-27 14:53:33 -04:00
dachshund
e972e16872
Merge branch 'develop' into chain-of-trust
...
Conflicts:
tuf/log.py
2013-08-27 14:53:33 -04:00
dachshund
742417e48e
Merge branch 'develop' into path_hash_prefix
2013-08-27 14:52:24 -04:00
dachshund
4ab867efda
Merge branch 'develop' into path_hash_prefix
2013-08-27 14:52:24 -04:00
zanefisher
748da1eb58
Make aggregate tests randomization optional.
2013-08-26 15:35:28 -04:00
zanefisher
4a85d4bba8
Make aggregate tests randomization optional.
2013-08-26 15:35:28 -04:00
zanefisher
f10d970a75
Removed stray debug code.
2013-08-26 14:25:25 -04:00
zanefisher
4654f9b4a2
Removed stray debug code.
2013-08-26 14:25:25 -04:00
zanefisher
4eb4b80182
Aggregate tests now passes. Moved various unit test code that ran on import into setup and teardown functions that are called at the appropriate time when run with other tests.
2013-08-26 14:18:20 -04:00
zanefisher
71d4db8a96
Aggregate tests now passes. Moved various unit test code that ran on import into setup and teardown functions that are called at the appropriate time when run with other tests.
2013-08-26 14:18:20 -04:00
vladdd
9c5eddc458
Replace evpy crypto calls in rsa_key.py with PyCrypto's equivalent
2013-08-20 13:17:04 -04:00
vladdd
0b81cf933c
Replace evpy crypto calls in rsa_key.py with PyCrypto's equivalent
2013-08-20 13:17:04 -04:00
zanefisher
2ed03ee751
Merge remote-tracking branch 'upstream/master'
2013-08-19 17:16:41 -04:00
zanefisher
1ea10cadf0
Merge remote-tracking branch 'upstream/master'
2013-08-19 17:16:41 -04:00
zanefisher
a990059329
Rewrote extraneous dependencies test, based on arbitrary package test.
2013-08-19 17:10:13 -04:00
zanefisher
817ad0735b
Rewrote extraneous dependencies test, based on arbitrary package test.
2013-08-19 17:10:13 -04:00
zanefisher
794ba94b2d
Removed unnecessary imports from aggregate_tests.py.
2013-08-15 17:40:48 -04:00
zanefisher
6f297650fd
Removed unnecessary imports from aggregate_tests.py.
2013-08-15 17:40:48 -04:00
vladdd
00ee27aeec
Update system tests following design change to log.py
2013-08-15 15:48:12 -04:00
vladdd
e7018bf969
Update system tests following design change to log.py
2013-08-15 15:48:12 -04:00
zanefisher
51f491ede2
Merge remote-tracking branch 'upstream/master'
2013-08-15 14:56:49 -04:00
zanefisher
0880553339
Merge remote-tracking branch 'upstream/master'
2013-08-15 14:56:49 -04:00
vladdd
6f6f60fdff
Update the unit tests affected by the design change to log.py
2013-08-15 14:33:35 -04:00
vladdd
3537917015
Update the unit tests affected by the design change to log.py
2013-08-15 14:33:35 -04:00
dachshund
02e5fa6206
Log to console when tuf.interposition is imported.
...
Reduce logging noise.
2013-08-14 13:22:34 -04:00
dachshund
9255b3d01b
Log to console when tuf.interposition is imported.
...
Reduce logging noise.
2013-08-14 13:22:34 -04:00
dachshund
e7ca5ef60a
Workaround hashing target paths with Unicode characters.
2013-08-14 11:06:13 -04:00
dachshund
e1f3cde818
Workaround hashing target paths with Unicode characters.
2013-08-14 11:06:13 -04:00