From 9c794624e0e6f577d7198de4fbe7de69a349448e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Wed, 18 Jan 2017 17:00:09 +0800 Subject: [PATCH] fix auth_aes128_* client side --- shadowsocks/obfsplugin/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/obfsplugin/auth.py b/shadowsocks/obfsplugin/auth.py index 29730f3..b1adc37 100644 --- a/shadowsocks/obfsplugin/auth.py +++ b/shadowsocks/obfsplugin/auth.py @@ -1224,7 +1224,7 @@ class auth_aes128_sha1(auth_base): uid = os.urandom(4) if b':' in to_bytes(self.server_info.protocol_param): try: - items = to_bytes(self.server_info.protocol_param).split(':') + items = to_bytes(self.server_info.protocol_param).split(b':') self.user_key = self.hashfunc(items[1]).digest() uid = struct.pack('