diff options
| author | kwadronaut <kwadronaut@puscii.nl> | 2019-10-04 15:28:47 +0200 | 
|---|---|---|
| committer | kwadronaut <kwadronaut@puscii.nl> | 2019-10-04 15:28:47 +0200 | 
| commit | 84ca37f0350f59d6448128d9f7042c15c5ee288b (patch) | |
| tree | 0847b4c6c7fe53177036962e31656761e34d9efd /scripts/gen-shapeshifter-state.py | |
| parent | bc4f7b5837c9cd475858742d810023e1d9fc5d64 (diff) | |
Upstream api change
Shapeshifter-dispatcher refactored how to deal with the arguments,
they want iatMode now not iat-mode.
Diffstat (limited to 'scripts/gen-shapeshifter-state.py')
| -rwxr-xr-x | scripts/gen-shapeshifter-state.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/scripts/gen-shapeshifter-state.py b/scripts/gen-shapeshifter-state.py index 1418e23..241c780 100755 --- a/scripts/gen-shapeshifter-state.py +++ b/scripts/gen-shapeshifter-state.py @@ -14,7 +14,7 @@ import pysodium  import binascii  BRIDGE_PREAMBLE = "Bridge obfs4 <IP ADDRESS>:<PORT> <FINGERPRINT> cert=" -BRIDGE_END = " iat-mode=0" +BRIDGE_END = " iatMode=0"  def generate(statedir): @@ -41,7 +41,7 @@ def generate(statedir):              'private-key': tostr(priv_hex),              'public-key': tostr(pub_hex),              'drbg-seed': tostr(binascii.b2a_hex(drbg_seed)), -            'iat-mode': 0})) +            'iatMode': 0}))      cert = base64.b64encode(node_id + public)      print("CERT:", cert) | 
