diff --git a/mujson_mgr.py b/mujson_mgr.py index 320d127..6c1190e 100644 --- a/mujson_mgr.py +++ b/mujson_mgr.py @@ -249,32 +249,24 @@ def main(): '+2': 'tls1.2_ticket_auth_compatible', '2': 'tls1.2_ticket_auth'} fast_set_protocol = {'0': 'origin', - '+ota': 'verify_sha1_compatible', - 'ota': 'verify_sha1', - 'a1': 'auth_sha1', - '+a1': 'auth_sha1_compatible', - 'a2': 'auth_sha1_v2', - '+a2': 'auth_sha1_v2_compatible', 'a4': 'auth_sha1_v4', '+a4': 'auth_sha1_v4_compatible', 'am': 'auth_aes128_md5', 'as': 'auth_aes128_sha1', + 'ca': 'auth_chain_a', } - fast_set_method = {'a0': 'aes-128-cfb', - 'a1': 'aes-192-cfb', - 'a2': 'aes-256-cfb', + fast_set_method = {'0': 'none', + 'a1c': 'aes-128-cfb', + 'a2c': 'aes-192-cfb', + 'a3c': 'aes-256-cfb', 'r': 'rc4-md5', 'r6': 'rc4-md5-6', 'c': 'chacha20', 'ci': 'chacha20-ietf', 's': 'salsa20', - 'b': 'bf-cfb', - 'm0': 'camellia-128-cfb', - 'm1': 'camellia-192-cfb', - 'm2': 'camellia-256-cfb', - 'a0t': 'aes-128-ctr', - 'a1t': 'aes-192-ctr', - 'a2t': 'aes-256-ctr'} + 'a1': 'aes-128-ctr', + 'a2': 'aes-192-ctr', + 'a3': 'aes-256-ctr'} try: optlist, args = getopt.getopt(sys.argv[1:], shortopts, longopts) for key, value in optlist: