aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--bench_test.go2
-rw-r--r--example_test.go2
-rw-r--r--go.mod2
-rw-r--r--noise_test.go2
5 files changed, 11 insertions, 5 deletions
diff --git a/README.md b/README.md
index f8357e7..1cf3b5a 100644
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/go.mod b/go.mod
index 85453b4..8d096c9 100644
--- a/go.mod
+++ b/go.mod
@@ -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) {