From: Sergey Matveev Date: Thu, 26 Dec 2024 13:55:51 +0000 (+0300) Subject: There is no cypherpunks.ru domain anymore X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=HEAD;p=udpobfs.git There is no cypherpunks.ru domain anymore --- diff --git a/PROTOCOL b/PROTOCOL index fe2574f..45179a1 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -1,12 +1,12 @@ After TLS 1.3 handshake is finished, 512-bit keying material is exported. Various 256-bit keys are derived from it: - InitEncKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 init enc") - InitMACKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 init mac") - InitObfsKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 init obfs") - RespEncKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 resp enc") - RespMACKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 resp mac") - RespObfsKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.ru/udpobfs/v2 resp obfs") + InitEncKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 init enc") + InitMACKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 init mac") + InitObfsKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 init obfs") + RespEncKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 resp enc") + RespMACKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 resp mac") + RespObfsKey = BLAKE3-DeriveKey(seed, "go.cypherpunks.su/udpobfs/v2 resp obfs") Each peer has 64-bit packet sequence counter. It is fed to BLAKE3(len=256, key=*EncKey) and then its XOF output is XORed with diff --git a/cmd/init/main.go b/cmd/init/main.go index e725993..d18a311 100644 --- a/cmd/init/main.go +++ b/cmd/init/main.go @@ -32,7 +32,7 @@ import ( "sync" "time" - "go.cypherpunks.ru/udpobfs/v2" + "go.cypherpunks.su/udpobfs/v2" "lukechampine.com/blake3" ) diff --git a/cmd/resp/main.go b/cmd/resp/main.go index 7e4556d..9a6af96 100644 --- a/cmd/resp/main.go +++ b/cmd/resp/main.go @@ -26,7 +26,7 @@ import ( "sync" "time" - "go.cypherpunks.ru/udpobfs/v2" + "go.cypherpunks.su/udpobfs/v2" ) var ( diff --git a/crypto.go b/crypto.go index 54d369c..d440bb5 100644 --- a/crypto.go +++ b/crypto.go @@ -25,7 +25,7 @@ import ( ) const ( - App = "go.cypherpunks.ru/udpobfs/v2" + App = "go.cypherpunks.su/udpobfs/v2" MACLen = 6 SeqLen = 8 SeedLen = 64 diff --git a/go.mod b/go.mod index 65fd70d..2723fbc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.cypherpunks.ru/udpobfs/v2 +module go.cypherpunks.su/udpobfs/v2 go 1.21