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 --- config/.demo.yaml.swp | Bin 12288 -> 0 bytes scripts/gen-shapeshifter-state.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 config/.demo.yaml.swp diff --git a/config/.demo.yaml.swp b/config/.demo.yaml.swp deleted file mode 100644 index b673bd7..0000000 Binary files a/config/.demo.yaml.swp and /dev/null differ 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