diff options
author | kwadronaut <kwadronaut@leap.se> | 2020-01-07 17:12:47 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2020-01-07 17:12:47 +0100 |
commit | bb8d96ba79450659c0a459e86647eb0e998fea99 (patch) | |
tree | 9d63709f2a253b94e98b3d1c66b1af488746fa3c /scripts/gen-shapeshifter-state.py | |
parent | 10f825d96704ecac589f97aeba1de3dd116efb3a (diff) | |
parent | 7211d6a8cf4c0e6c1686cbf1df2d5b867f577f88 (diff) |
Merge remote-tracking branch 'origin/master' into chaperone
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) |