[tor-bugs] #20549 [Metrics/CollecTor]: implement SanitizedBridgeServerDescriptor

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 3 11:29:07 UTC 2016


#20549: implement SanitizedBridgeServerDescriptor
-----------------------------------+--------------------
     Reporter:  iwakeh             |      Owner:
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:  #20542
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------
 `SanitizedBridgeServerDescriptor` should extend `BridgeServerDescriptor`.
 It receives a `BridgeServerDescriptor` at construction time and sanitizes
 the descriptor.
 All getters should only supply sanitized data; this explicitely includes
 method from the Descriptor interface like getRawDescriptorBytes.

 In addition, a `SanitizedBridgeServerDescriptorTest` should be created
 that verifies the sanitation and data integrity.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20549>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list