diff options
author | Kali Kaneko <kali@leap.se (leap communications)> | 2019-07-08 19:07:32 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se (leap communications)> | 2019-07-08 19:07:32 +0200 |
commit | e486b0e99396d88915965f1a2134c95059fdf271 (patch) | |
tree | 0c71a78421fbeb2cabdd3eeb76e37a6303fbbd11 /scripts/gen-shapeshifter-state.py | |
parent | 434eb9b1b27c5a3cddefdbf610e0a033962a6c5f (diff) |
bug: pubkey must be binary
Diffstat (limited to 'scripts/gen-shapeshifter-state.py')
-rwxr-xr-x | scripts/gen-shapeshifter-state.py | 2 |
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: |