From 44d8cf9d4e4926d17c6911fb00eb9f1950674742 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 19 Apr 2021 18:00:58 +0000 Subject: [PATCH] Replace Surfshark default cipher with aes 256 gcm --- internal/provider/surfshark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/surfshark.go b/internal/provider/surfshark.go index d4110c3b..e9d03581 100644 --- a/internal/provider/surfshark.go +++ b/internal/provider/surfshark.go @@ -78,7 +78,7 @@ func (s *surfshark) GetOpenVPNConnection(selection configuration.ServerSelection func (s *surfshark) BuildConf(connection models.OpenVPNConnection, username string, settings configuration.OpenVPN) (lines []string) { if len(settings.Cipher) == 0 { - settings.Cipher = aes256cbc + settings.Cipher = aes256gcm } if len(settings.Auth) == 0 { settings.Auth = "SHA512"