drop OTA; add AEAD config

This commit is contained in:
Syrone Wong
2017-03-31 22:04:41 +08:00
parent 9ca61defe8
commit 7408a75f0e
5 changed files with 35 additions and 54 deletions
@@ -303,8 +303,7 @@ namespace Shadowsocks.Controller
public static string GetQRCode(Server server)
{
string tag = string.Empty;
string auth = server.auth ? "-auth" : string.Empty;
string parts = $"{server.method}{auth}:{server.password}@{server.server}:{server.server_port}";
string parts = $"{server.method}:{server.password}@{server.server}:{server.server_port}";
string base64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(parts));
if(!server.remarks.IsNullOrEmpty())
{