diff options
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | bench_test.go | 2 | ||||
| -rw-r--r-- | example_test.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | noise_test.go | 2 |
5 files changed, 11 insertions, 5 deletions
@@ -10,6 +10,12 @@ - **XK**: Initiator knows responder's static key, delayed authentication - **PSK variants**: NNpsk0, XXpsk0 for pre-shared key authentication +## Install + +```sh +go get git.onurgunduz.com/noise@latest +``` + ## Usage ### Basic XX handshake @@ -21,7 +27,7 @@ import ( "fmt" "log" - "github.com/tetsuo/noise" + "git.onurgunduz.com/noise" ) func main() { diff --git a/bench_test.go b/bench_test.go index e21130f..2da03cd 100644 --- a/bench_test.go +++ b/bench_test.go @@ -3,7 +3,7 @@ package noise_test import ( "testing" - "github.com/tetsuo/noise" + "git.onurgunduz.com/noise" ) // setupTransportPair completes an NN handshake and returns tx/rx cipher states. diff --git a/example_test.go b/example_test.go index f44c3ab..9a498a6 100644 --- a/example_test.go +++ b/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "github.com/tetsuo/noise" + "git.onurgunduz.com/noise" ) // Example demonstrates a basic XX handshake pattern. @@ -1,4 +1,4 @@ -module github.com/tetsuo/noise +module git.onurgunduz.com/noise go 1.25.0 diff --git a/noise_test.go b/noise_test.go index 29bce82..98e97cd 100644 --- a/noise_test.go +++ b/noise_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/tetsuo/noise" + "git.onurgunduz.com/noise" ) func TestBasicHandshakeXX(t *testing.T) { |
