summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/cli/main.go4
-rw-r--r--docs/src/about.md2
-rw-r--r--docs/src/api/go/README.md2
-rw-r--r--docs/src/api/go/example.md2
-rw-r--r--docs/src/api/python/example.md2
-rw-r--r--docs/src/gettingstarted/building/example.md2
-rw-r--r--eduvpncommon.spec2
-rw-r--r--exports/disco.go4
-rw-r--r--exports/exports.go2
-rw-r--r--exports/servers.go4
-rw-r--r--fsm.go4
-rw-r--r--go.mod2
-rw-r--r--internal/config/config.go4
-rw-r--r--internal/discovery/discovery.go8
-rw-r--r--internal/http/http.go2
-rw-r--r--internal/log/log.go4
-rw-r--r--internal/oauth/oauth.go6
-rw-r--r--internal/server/api.go4
-rw-r--r--internal/server/common.go8
-rw-r--r--internal/server/instituteaccess.go4
-rw-r--r--internal/server/secureinternet.go6
-rw-r--r--internal/util/util.go2
-rw-r--r--internal/verify/verify.go2
-rw-r--r--internal/wireguard/wireguard.go2
-rw-r--r--state.go16
-rw-r--r--state_test.go8
26 files changed, 54 insertions, 54 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index caeef1c..bedc7c3 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -6,8 +6,8 @@ import (
"os/exec"
"strings"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
- "github.com/jwijenbergh/eduvpn-common/internal/server"
+ eduvpn "github.com/eduvpn/eduvpn-common"
+ "github.com/eduvpn/eduvpn-common/internal/server"
)
type ServerTypes int8
diff --git a/docs/src/about.md b/docs/src/about.md
index 05e39ef..08d7f9c 100644
--- a/docs/src/about.md
+++ b/docs/src/about.md
@@ -18,7 +18,7 @@ The main goal is thus the following:
This library tries to remove non-platform specific common functionality. This way eduVPN clients have less duplicate code. The building blocks that are removed by the library is not just the four depicted in this figure. You can think of other building blocks, such as logging and local configuration file saving. As can be seen in the figure, no User Interface (UI) code will be implemented. This is left to the eduVPN clients, on top of platform-specific code.
## License
-[MIT](https://github.com/jwijenbergh/eduvpn-common/blob/main/LICENSE)
+[MIT](https://github.com/eduvpn/eduvpn-common/blob/main/LICENSE)
## Authors
This library is written by [Steven Wallis de Vries](https://github.com/stevenwdv) and [Jeroen Wijenbergh](https://github.com/jwijenbergh) at the [SURF](https://www.surf.nl/) and [GÉANT](https://geant.org/) organization.
diff --git a/docs/src/api/go/README.md b/docs/src/api/go/README.md
index 6106f1e..e27a247 100644
--- a/docs/src/api/go/README.md
+++ b/docs/src/api/go/README.md
@@ -2,7 +2,7 @@
The API that has no additional wrapper code is the Go API. To begin to use the Go library in a Go client you first need to import it:
```go
-import "github.com/jwijenbergh/eduvpn-common"
+import "github.com/eduvpn/eduvpn-common"
```
This brings the library into scope using the eduvpn-common prefix.
diff --git a/docs/src/api/go/example.md b/docs/src/api/go/example.md
index 0ed7d02..82baad8 100644
--- a/docs/src/api/go/example.md
+++ b/docs/src/api/go/example.md
@@ -1,5 +1,5 @@
# Example with comments
-The following is an example [in the repository](https://github.com/jwijenbergh/eduvpn-common/blob/main/cmd/cli/main.go). It is a command line client with the following flags
+The following is an example [in the repository](https://github.com/eduvpn/eduvpn-common/blob/main/cmd/cli/main.go). It is a command line client with the following flags
```
-get-institute string
The url of an institute to connect to
diff --git a/docs/src/api/python/example.md b/docs/src/api/python/example.md
index f371b68..906a3ca 100644
--- a/docs/src/api/python/example.md
+++ b/docs/src/api/python/example.md
@@ -1,6 +1,6 @@
# Example with comments
-This is an example that can also be found [in the repository](https://github.com/jwijenbergh/eduvpn-common/blob/main/wrappers/python/main.py). It gets a config from an Institute Access server with support for multiple profiles.
+This is an example that can also be found [in the repository](https://github.com/eduvpn/eduvpn-common/blob/main/wrappers/python/main.py). It gets a config from an Institute Access server with support for multiple profiles.
```python
{{#include ../../../../wrappers/python/main.py}}
diff --git a/docs/src/gettingstarted/building/example.md b/docs/src/gettingstarted/building/example.md
index 668d77a..bdf027e 100644
--- a/docs/src/gettingstarted/building/example.md
+++ b/docs/src/gettingstarted/building/example.md
@@ -3,7 +3,7 @@ This section gives an example on how to build and install the library from scrat
1. Clone the library
```bash
-git clone https://github.com/jwijenbergh/eduvpn-common
+git clone https://github.com/eduvpn/eduvpn-common
```
2. Go to the library directory
diff --git a/eduvpncommon.spec b/eduvpncommon.spec
index 40296cf..99ed4af 100644
--- a/eduvpncommon.spec
+++ b/eduvpncommon.spec
@@ -8,7 +8,7 @@ Release: 1%{?dist}
Summary: %{sum}
License: MIT
-URL: https://github.com/jwijenbergh/eduvpn-common
+URL: https://github.com/eduvpn/eduvpn-common
Source0: %{name}.tar.gz
BuildRequires: make
BuildRequires: gcc
diff --git a/exports/disco.go b/exports/disco.go
index 56918ec..e28fb01 100644
--- a/exports/disco.go
+++ b/exports/disco.go
@@ -41,8 +41,8 @@ import "C"
import (
"unsafe"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ eduvpn "github.com/eduvpn/eduvpn-common"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
func getCPtrDiscoOrganization(
diff --git a/exports/exports.go b/exports/exports.go
index cd02bd1..745b992 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -17,7 +17,7 @@ import (
"fmt"
"unsafe"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
+ eduvpn "github.com/eduvpn/eduvpn-common"
)
var P_StateCallbacks map[string]C.PythonCB
diff --git a/exports/servers.go b/exports/servers.go
index b2ae0ee..e5c9301 100644
--- a/exports/servers.go
+++ b/exports/servers.go
@@ -51,8 +51,8 @@ import "C"
import (
"unsafe"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
- "github.com/jwijenbergh/eduvpn-common/internal/server"
+ eduvpn "github.com/eduvpn/eduvpn-common"
+ "github.com/eduvpn/eduvpn-common/internal/server"
)
// Get the pointer to the C struct for the profile
diff --git a/fsm.go b/fsm.go
index b508e6c..e975126 100644
--- a/fsm.go
+++ b/fsm.go
@@ -4,8 +4,8 @@ import (
"errors"
"fmt"
- "github.com/jwijenbergh/eduvpn-common/internal/fsm"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/fsm"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
type (
diff --git a/go.mod b/go.mod
index c7f8b88..3fbc3ba 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/jwijenbergh/eduvpn-common
+module github.com/eduvpn/eduvpn-common
go 1.15
diff --git a/internal/config/config.go b/internal/config/config.go
index a74bcd8..18e466a 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -6,8 +6,8 @@ import (
"io/ioutil"
"path"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
)
type Config struct {
diff --git a/internal/discovery/discovery.go b/internal/discovery/discovery.go
index 61b5557..a3877f5 100644
--- a/internal/discovery/discovery.go
+++ b/internal/discovery/discovery.go
@@ -5,10 +5,10 @@ import (
"fmt"
"time"
- "github.com/jwijenbergh/eduvpn-common/internal/http"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
- "github.com/jwijenbergh/eduvpn-common/internal/verify"
+ "github.com/eduvpn/eduvpn-common/internal/http"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/verify"
)
type Discovery struct {
diff --git a/internal/http/http.go b/internal/http/http.go
index aa559fe..f9dafbb 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
type URLParameters map[string]string
diff --git a/internal/log/log.go b/internal/log/log.go
index 723fa82..d6a7373 100644
--- a/internal/log/log.go
+++ b/internal/log/log.go
@@ -6,8 +6,8 @@ import (
"os"
"path"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
)
type FileLogger struct {
diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go
index d8acfad..456c854 100644
--- a/internal/oauth/oauth.go
+++ b/internal/oauth/oauth.go
@@ -10,9 +10,9 @@ import (
"net/url"
"time"
- httpw "github.com/jwijenbergh/eduvpn-common/internal/http"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
+ httpw "github.com/eduvpn/eduvpn-common/internal/http"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
)
// Generates a random base64 string to be used for state
diff --git a/internal/server/api.go b/internal/server/api.go
index 76e3c72..1893f6e 100644
--- a/internal/server/api.go
+++ b/internal/server/api.go
@@ -8,8 +8,8 @@ import (
"net/url"
"time"
- httpw "github.com/jwijenbergh/eduvpn-common/internal/http"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ httpw "github.com/eduvpn/eduvpn-common/internal/http"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
func APIGetEndpoints(baseURL string) (*ServerEndpoints, error) {
diff --git a/internal/server/common.go b/internal/server/common.go
index f4f9a42..62518cc 100644
--- a/internal/server/common.go
+++ b/internal/server/common.go
@@ -4,10 +4,10 @@ import (
"fmt"
"time"
- "github.com/jwijenbergh/eduvpn-common/internal/oauth"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
- "github.com/jwijenbergh/eduvpn-common/internal/wireguard"
+ "github.com/eduvpn/eduvpn-common/internal/oauth"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/wireguard"
)
// The base type for servers
diff --git a/internal/server/instituteaccess.go b/internal/server/instituteaccess.go
index 0cad158..aaabeb1 100644
--- a/internal/server/instituteaccess.go
+++ b/internal/server/instituteaccess.go
@@ -3,8 +3,8 @@ package server
import (
"fmt"
- "github.com/jwijenbergh/eduvpn-common/internal/oauth"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/oauth"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
// An instute access server
diff --git a/internal/server/secureinternet.go b/internal/server/secureinternet.go
index d5689a8..2fbb143 100644
--- a/internal/server/secureinternet.go
+++ b/internal/server/secureinternet.go
@@ -3,9 +3,9 @@ package server
import (
"fmt"
- "github.com/jwijenbergh/eduvpn-common/internal/oauth"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/oauth"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
)
// A secure internet server which has its own OAuth tokens
diff --git a/internal/util/util.go b/internal/util/util.go
index 834b8d4..0af89ac 100644
--- a/internal/util/util.go
+++ b/internal/util/util.go
@@ -8,7 +8,7 @@ import (
"strings"
"time"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
func EnsureValidURL(s string) (string, error) {
diff --git a/internal/verify/verify.go b/internal/verify/verify.go
index 50bdd0b..47f5187 100644
--- a/internal/verify/verify.go
+++ b/internal/verify/verify.go
@@ -4,7 +4,7 @@ import (
"fmt"
"github.com/jedisct1/go-minisign"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
// Verify verifies the signature (.minisig file format) on signedJson.
diff --git a/internal/wireguard/wireguard.go b/internal/wireguard/wireguard.go
index 5722915..52b9102 100644
--- a/internal/wireguard/wireguard.go
+++ b/internal/wireguard/wireguard.go
@@ -4,7 +4,7 @@ import (
"fmt"
"regexp"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/types"
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
)
diff --git a/state.go b/state.go
index f311469..2ec884d 100644
--- a/state.go
+++ b/state.go
@@ -4,14 +4,14 @@ import (
"errors"
"fmt"
- "github.com/jwijenbergh/eduvpn-common/internal/config"
- "github.com/jwijenbergh/eduvpn-common/internal/discovery"
- "github.com/jwijenbergh/eduvpn-common/internal/fsm"
- "github.com/jwijenbergh/eduvpn-common/internal/log"
- "github.com/jwijenbergh/eduvpn-common/internal/oauth"
- "github.com/jwijenbergh/eduvpn-common/internal/server"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
- "github.com/jwijenbergh/eduvpn-common/internal/util"
+ "github.com/eduvpn/eduvpn-common/internal/config"
+ "github.com/eduvpn/eduvpn-common/internal/discovery"
+ "github.com/eduvpn/eduvpn-common/internal/fsm"
+ "github.com/eduvpn/eduvpn-common/internal/log"
+ "github.com/eduvpn/eduvpn-common/internal/oauth"
+ "github.com/eduvpn/eduvpn-common/internal/server"
+ "github.com/eduvpn/eduvpn-common/internal/types"
+ "github.com/eduvpn/eduvpn-common/internal/util"
)
type (
diff --git a/state_test.go b/state_test.go
index 3915759..a557a4c 100644
--- a/state_test.go
+++ b/state_test.go
@@ -11,10 +11,10 @@ import (
"testing"
"time"
- httpw "github.com/jwijenbergh/eduvpn-common/internal/http"
- "github.com/jwijenbergh/eduvpn-common/internal/oauth"
- "github.com/jwijenbergh/eduvpn-common/internal/server"
- "github.com/jwijenbergh/eduvpn-common/internal/types"
+ httpw "github.com/eduvpn/eduvpn-common/internal/http"
+ "github.com/eduvpn/eduvpn-common/internal/oauth"
+ "github.com/eduvpn/eduvpn-common/internal/server"
+ "github.com/eduvpn/eduvpn-common/internal/types"
)
func ensureLocalWellKnown() {