Skip to content

Commit 35da606

Browse files
committed
fixes
1 parent 496435e commit 35da606

40 files changed

Lines changed: 421 additions & 65 deletions

File tree

.github/workflows/_build-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
maintainer:
3535
required: false
3636
type: string
37-
default: "NativeMind <noreply@nativemind.net>"
37+
default: "vpnclient <noreply@vpnclient.net>"
3838
outputs:
3939
package_path:
4040
description: "Path to package file"

cmd/https-vpn/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os/signal"
99
"syscall"
1010

11-
"github.com/nativemind/https-vpn/core"
12-
"github.com/nativemind/https-vpn/infra/conf"
11+
"github.com/vpnclient/https-vpn/core"
12+
"github.com/vpnclient/https-vpn/infra/conf"
1313

1414
// Register crypto providers
1515
_ "github.com/vpnclient/https-vpn/crypto/ru"

core/core.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"os"
1212
"strings"
1313

14-
"github.com/nativemind/https-vpn/crypto"
15-
"github.com/nativemind/https-vpn/infra/conf"
16-
"github.com/nativemind/https-vpn/transport"
14+
"github.com/vpnclient/https-vpn/crypto"
15+
"github.com/vpnclient/https-vpn/infra/conf"
16+
"github.com/vpnclient/https-vpn/transport"
1717
)
1818

1919
// Instance represents an HTTPS VPN server instance.

core/core_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package core
33
import (
44
"testing"
55

6-
"github.com/nativemind/https-vpn/infra/conf"
7-
_ "github.com/nativemind/https-vpn/crypto/us"
6+
"github.com/vpnclient/https-vpn/infra/conf"
7+
_ "github.com/vpnclient/https-vpn/crypto/us"
88
)
99

1010
func TestGetProviderName_NilConfig(t *testing.T) {

crypto/certstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"fmt"
1010
"log"
1111

12-
"github.com/nativemind/https-vpn/infra/conf"
12+
"github.com/vpnclient/https-vpn/infra/conf"
1313
)
1414

1515
// CertificateStore holds certificates indexed by crypto provider.

crypto/certstore_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/nativemind/https-vpn/crypto"
7+
"github.com/vpnclient/https-vpn/crypto"
88
// Import providers to register them
9-
_ "github.com/nativemind/https-vpn/crypto/cn"
10-
_ "github.com/nativemind/https-vpn/crypto/us"
9+
_ "github.com/vpnclient/https-vpn/crypto/cn"
10+
_ "github.com/vpnclient/https-vpn/crypto/us"
1111
)
1212

1313
func TestParseProviderPriority(t *testing.T) {

crypto/cn/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Provider 注册通过 `init()` 自动完成(见 `crypto/cn/provider.go`)。
4747

4848
```go
4949
import (
50-
"github.com/nativemind/https-vpn/crypto"
51-
_ "github.com/nativemind/https-vpn/crypto/cn" // 注册 "cn" provider
50+
"github.com/vpnclient/https-vpn/crypto"
51+
_ "github.com/vpnclient/https-vpn/crypto/cn" // 注册 "cn" provider
5252
)
5353

5454
provider, ok := crypto.Get("cn")

crypto/cn/provider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package cn
44
import (
55
"crypto/tls"
66

7-
"github.com/nativemind/https-vpn/crypto"
8-
smtls "github.com/nativemind/https-vpn/crypto/cn/tls"
7+
"github.com/vpnclient/https-vpn/crypto"
8+
smtls "github.com/vpnclient/https-vpn/crypto/cn/tls"
99
)
1010

1111
// Provider implements crypto.Provider for Chinese cryptography (SM series).

crypto/cn/provider_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"crypto/tls"
55
"testing"
66

7-
"github.com/nativemind/https-vpn/crypto"
8-
smtls "github.com/nativemind/https-vpn/crypto/cn/tls"
7+
"github.com/vpnclient/https-vpn/crypto"
8+
smtls "github.com/vpnclient/https-vpn/crypto/cn/tls"
99
)
1010

1111
func TestProviderRegistration(t *testing.T) {

crypto/cn/sm2/sm2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"io"
1010
"math/big"
1111

12-
"github.com/nativemind/https-vpn/crypto/cn/sm3"
12+
"github.com/vpnclient/https-vpn/crypto/cn/sm3"
1313
)
1414

1515
var (

0 commit comments

Comments
 (0)