Explorar o código

feat(conf): set AES-128-CBC as the cipher

Closes #55
Mustafa Arici %!s(int64=8) %!d(string=hai) anos
pai
achega
77ae50b414
Modificáronse 3 ficheiros con 8 adicións e 6 borrados
  1. 6 6
      bindata/bindata.go
  2. 1 0
      template/client.ovpn.tmpl
  3. 1 0
      template/server.conf.tmpl

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 6 - 6
bindata/bindata.go


+ 1 - 0
template/client.ovpn.tmpl

@@ -7,6 +7,7 @@ proto {{ .Proto }}
 remote {{ .Hostname }} {{ .Port }}
 resolv-retry infinite
 ns-cert-type server
+cipher AES-128-CBC
 nobind
 keepalive 2 20
 persist-key

+ 1 - 0
template/server.conf.tmpl

@@ -233,6 +233,7 @@ keepalive 2 20
 ;cipher BF-CBC        # Blowfish (default)
 ;cipher AES-128-CBC   # AES
 ;cipher DES-EDE3-CBC  # Triple-DES
+cipher AES-128-CBC
 
 # Enable compression on the VPN link.
 # If you enable it here, you must also

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio