[tor-bugs] #12932 [BridgeDB]: Transport Key-Value pairs should be space separated

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Aug 23 05:46:09 UTC 2014


#12932: Transport Key-Value pairs should be space separated
----------------------+----------------------
 Reporter:  sysrqb    |          Owner:  isis
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:
Component:  BridgeDB  |        Version:
 Keywords:            |  Actual Points:
Parent ID:            |         Points:
----------------------+----------------------
 pt-spec says that the options should be space-separated:

 {{{
  2.1.0.1. Bridge torrc lines

     Bridge lines specify how Tor should connect to a bridge. The Bridge
     line format is:

        Bridge [<transport>] <address>:<port> [<id-fingerprint>] [<k>=<v>]
 [<k>=<v>] [<k>=<v>]

     The PT-specific parts of this format are the [transport] and [k=v]
     values.

     <transport> is the name of the PT that MUST be used when connecting to
     the bridge, and the <k>=<v> values are PT-specific parameters that
     MUST be passed to the PT when connecting to the bridge (this MAY
     include keys, passwords or other PT configuration options) as
     specified in [CLIENTPARAMS].
 }}}

 we comma-separate them:

 {{{
         args = ",".join(["%s=%s" % (k, v) for k, v in
 self.argdict.items()])
 }}}

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


More information about the tor-bugs mailing list