aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-10-07 03:59:40 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-10-07 03:59:40 +0200
commitca694f2a73a188f17c1354eb4e954a40fcd66b8f (patch)
tree3d0106aaab1d32019f96b3ffb5467bda282f50bc
parent9f00eaee84805a0a966bbbcd938ce0391d0b3c13 (diff)
downloadnoise-ca694f2a73a188f17c1354eb4e954a40fcd66b8f.tar.gz
noise-ca694f2a73a188f17c1354eb4e954a40fcd66b8f.zip
Update Go module path and source importsv0.2.0
-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) {