Skip to content
Snippets Groups Projects
  1. Jul 12, 2014
  2. Mar 22, 2014
  3. Mar 11, 2014
  4. Mar 10, 2014
  5. Mar 09, 2014
  6. Mar 08, 2014
  7. Mar 04, 2014
  8. Mar 03, 2014
  9. Mar 01, 2014
  10. Feb 03, 2014
  11. Feb 02, 2014
  12. Feb 01, 2014
    • Philipp Winter's avatar
      Generate a password if the bridge operator didn't. · 7c3c5198
      Philipp Winter authored
      Generally, we require a password (the UniformDH shared secret) which is set by
      the bridge operator using "ServerTransportOptions" in Tor's torrc.  Since some
      bridge operators won't bother taking care of that, we want a fallback mechanism
      which silently generates and publishes a password if ServerTransportOptions is
      not used.  We (ab)use obfsproxy's get_public_server_options() which is meant to
      sanitise parameters.  We, however, use it to add the password parameter if it's
      not there.
      7c3c5198
    • Philipp Winter's avatar
      Remove swap(). · 5e3fb32d
      Philipp Winter authored
      The more Pythonic way to do this is a, b = b, a.
      5e3fb32d
  13. Jan 29, 2014
Loading