commit 582b9b5f9f210d01080a0a22c0811704fbb35104 Merge: 9844976 a2ff991 Author: Damian Johnson <ata...@torproject.org> Date: Sat Jul 1 12:18:21 2017 -0700
Randomize fields of all descriptor types To start we randomized attributes of server descriptors we create. Now that that's working doing the same for all the other descriptor types. stem/descriptor/__init__.py | 20 ++-- stem/descriptor/extrainfo_descriptor.py | 42 +++---- stem/descriptor/hidden_service_descriptor.py | 29 +++-- stem/descriptor/microdescriptor.py | 10 +- stem/descriptor/networkstatus.py | 128 +++++++++------------ stem/descriptor/router_status_entry.py | 33 +++--- stem/descriptor/server_descriptor.py | 8 +- test/unit/descriptor/extrainfo_descriptor.py | 10 +- test/unit/descriptor/hidden_service_descriptor.py | 3 - test/unit/descriptor/microdescriptor.py | 1 - .../networkstatus/directory_authority.py | 41 ++++--- test/unit/descriptor/networkstatus/document_v2.py | 14 +-- test/unit/descriptor/networkstatus/document_v3.py | 34 ++---- .../descriptor/networkstatus/key_certificate.py | 26 ++--- test/unit/descriptor/router_status_entry.py | 32 ++---- test/unit/tutorial.py | 12 +- test/unit/tutorial_examples.py | 12 +- 17 files changed, 195 insertions(+), 260 deletions(-) _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits