summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-06-28 17:01:41 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-05 11:45:55 -0400
commit5d65d89e01105bc1b37995175cd9336ea2c737e0 (patch)
treeb2ce2d150a7cd5cc9467f18e0039b0889846793d /pkg
parent2160bb2351cd66639b50ff13764bb7b1442533bb (diff)
[feat] add vendorize script to generate config
Diffstat (limited to 'pkg')
-rw-r--r--pkg/config/config.go24
1 files changed, 21 insertions, 3 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index fed3cc9..29f724a 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -1,16 +1,34 @@
+/*
+ DO NOT EDIT --------------------------------------------------
+
+ This file has been automatically generated by `go generate`.
+ Any changes will be overriden.
+
+ DO NOT EDIT --------------------------------------------------
+*/
+
package config
+/* All these constants are defined in the vendor.conf file
+*/
const (
+ Provider = "riseup.net"
ApplicationName = "RiseupVPN"
BinaryName = "riseup-vpn"
- Provider = "riseup.net"
- DonateURL = "https://riseup.net/vpn/donate"
- HelpURL = "https://riseup.net/vpn/support"
+ DonateURL = "https://riseup.net/donate"
+ HelpURL = "https://riseup.net/support"
TosURL = "https://riseup.net/tos"
APIURL = "https://api.black.riseup.net/"
GeolocationAPI = "https://api.black.riseup.net:9001/json"
)
+/*
+
+CaCert : a string containing a representation of the provider CA, used to
+ sign the webapp and openvpn certificates. should be placed in
+ config/[provider]/ca.crt
+
+*/
var CaCert = []byte(`-----BEGIN CERTIFICATE-----
MIIFjTCCA3WgAwIBAgIBATANBgkqhkiG9w0BAQ0FADBZMRgwFgYDVQQKDA9SaXNl
dXAgTmV0d29ya3MxGzAZBgNVBAsMEmh0dHBzOi8vcmlzZXVwLm5ldDEgMB4GA1UE