From e486b0e99396d88915965f1a2134c95059fdf271 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 8 Jul 2019 19:07:32 +0200 Subject: bug: pubkey must be binary --- scripts/gen-shapeshifter-state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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: -- cgit v1.2.3