summaryrefslogtreecommitdiff
path: root/scripts/gen-shapeshifter-state.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-shapeshifter-state.py')
-rwxr-xr-xscripts/gen-shapeshifter-state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-shapeshifter-state.py b/scripts/gen-shapeshifter-state.py
index 9f9ec3d..1418e23 100755
--- a/scripts/gen-shapeshifter-state.py
+++ b/scripts/gen-shapeshifter-state.py
@@ -43,7 +43,7 @@ def generate(statedir):
'drbg-seed': tostr(binascii.b2a_hex(drbg_seed)),
'iat-mode': 0}))
- cert = base64.b64encode(node_id + pub_hex)
+ cert = base64.b64encode(node_id + public)
print("CERT:", cert)
with open(statedir + '/obfs4_cert.txt', 'w') as certf: