Skip to content

Commit

Permalink
transfer project to V2Fly
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Nov 7, 2020
1 parent dc1c86b commit 6e7f926
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 23 deletions.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015-2020 V2Fly Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/xiaokangwang/VSign
module github.com/v2fly/VSign

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion insmgr/filehashcollector.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package insmgr

import (
"github.com/xiaokangwang/VSign/instructions"
"github.com/v2fly/VSign/instructions"
)

type HashCollectorMgr struct {
Expand Down
2 changes: 1 addition & 1 deletion insmgr/mgr.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package insmgr

import "github.com/xiaokangwang/VSign/instructions"
import "github.com/v2fly/VSign/instructions"

type InstructionMgr interface {
SubmitIns(instruction instructions.Instruction)
Expand Down
2 changes: 1 addition & 1 deletion insmgr/outputMgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package insmgr

import (
"fmt"
"github.com/xiaokangwang/VSign/instructions"
"github.com/v2fly/VSign/instructions"
"io"
)

Expand Down
2 changes: 1 addition & 1 deletion insmgr/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package insmgr

import (
"bufio"
"github.com/xiaokangwang/VSign/instructions"
"github.com/v2fly/VSign/instructions"
"io"
)

Expand Down
2 changes: 1 addition & 1 deletion insmgr/sorter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package insmgr

import (
"github.com/xiaokangwang/VSign/instructions"
"github.com/v2fly/VSign/instructions"
"sort"
)

Expand Down
2 changes: 1 addition & 1 deletion instimp/common.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package instimp

import "github.com/xiaokangwang/VSign/instructions"
import "github.com/v2fly/VSign/instructions"

func NewVersionIns(version string) instructions.Instruction {
return NewSimpleFilenameKeyValueInst("", "version", version, true)
Expand Down
4 changes: 2 additions & 2 deletions instimp/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"archive/zip"
"crypto/sha256"
"encoding/hex"
"github.com/xiaokangwang/VSign/common"
"github.com/xiaokangwang/VSign/insmgr"
"github.com/v2fly/VSign/common"
"github.com/v2fly/VSign/insmgr"
"io"
"os"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion instimp/simpleFilenameKeyValue.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package instimp

import "github.com/xiaokangwang/VSign/instructions"
import "github.com/v2fly/VSign/instructions"

type SimpleFilenameKeyValueInst struct {
assocFilename string
Expand Down
2 changes: 1 addition & 1 deletion sign/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/rand"
"encoding/base64"
"errors"
"github.com/xiaokangwang/VSign/sign/signify"
"github.com/v2fly/VSign/sign/signify"
"golang.org/x/crypto/sha3"
"io"
"io/ioutil"
Expand Down
6 changes: 3 additions & 3 deletions signerVerify/VerifyFiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package signerVerify

import (
"fmt"
"github.com/xiaokangwang/VSign/insmgr"
"github.com/xiaokangwang/VSign/instimp"
"github.com/xiaokangwang/VSign/v2signkey"
"github.com/v2fly/VSign/insmgr"
"github.com/v2fly/VSign/instimp"
"github.com/v2fly/VSign/v2signkey"
"io"
)

Expand Down
2 changes: 1 addition & 1 deletion signerVerify/basic.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package signerVerify

import (
"github.com/xiaokangwang/VSign/instructions"
"github.com/v2fly/VSign/instructions"
)

func CheckVersionAndProject(ins []instructions.Instruction, version, project string) bool {
Expand Down
2 changes: 1 addition & 1 deletion signerVerify/client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package signerVerify

import "github.com/xiaokangwang/VSign/instructions"
import "github.com/v2fly/VSign/instructions"

func CheckAsClient(ins []instructions.Instruction, project string, invert bool) (map[string]string, string, bool) {
var correctProject bool
Expand Down
4 changes: 2 additions & 2 deletions signerVerify/clientSignatureCheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package signerVerify
import (
"bytes"
"errors"
"github.com/xiaokangwang/VSign/insmgr"
"github.com/xiaokangwang/VSign/sign"
"github.com/v2fly/VSign/insmgr"
"github.com/v2fly/VSign/sign"
"io"
)

Expand Down
2 changes: 1 addition & 1 deletion v2signkey/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v2signkey

import (
"bytes"
"github.com/xiaokangwang/VSign/sign/signify"
"github.com/v2fly/VSign/sign/signify"
)

const V2FlySigningKey = `untrusted comment: V2Fly Signing Key
Expand Down
8 changes: 4 additions & 4 deletions vsigncli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package main
import (
"bytes"
"fmt"
"github.com/xiaokangwang/VSign/insmgr"
"github.com/xiaokangwang/VSign/instimp"
"github.com/xiaokangwang/VSign/sign"
"github.com/xiaokangwang/VSign/signerVerify"
"github.com/v2fly/VSign/insmgr"
"github.com/v2fly/VSign/instimp"
"github.com/v2fly/VSign/sign"
"github.com/v2fly/VSign/signerVerify"
"io"
"io/ioutil"
"os"
Expand Down

0 comments on commit 6e7f926

Please sign in to comment.