]> Cypherpunks repositories - gogost.git/commitdiff
Change namespace because of domain expiration v6.0.0
authorSergey Matveev <stargrave@stargrave.org>
Tue, 23 Jul 2024 12:16:34 +0000 (15:16 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 23 Jul 2024 12:19:49 +0000 (15:19 +0300)
21 files changed:
README
cmd/cer-selfsigned-example/main.go
cmd/streebog256/main.go
cmd/streebog512/main.go
go.mod
gogost.go
gost3410/vko2001.go
gost3410/vko2012.go
gost34112012256/hash.go
gost34112012512/hash.go
gost341194/hash.go
gost341194/hash_test.go
gost341194/pbkdf2_test.go
gost341264/cipher.go
install.texi
mgm/mode_test.go
mgm/mul128_test.go
mgm/mul64_test.go
news.texi
prfplus/gost.go
www.texi

diff --git a/README b/README
index 663371e16c4ed88181367e822e4313b44c4a08c4..227f3a4a9b5f5e1f51712561ad4a77dd3a345158 100644 (file)
--- a/README
+++ b/README
@@ -38,8 +38,8 @@ Example 34.10-2012-256 keypair generation, signing and verifying:
     import (
         "crypto/rand"
         "io"
-        "go.cypherpunks.ru/gogost/v5/gost3410"
-        "go.cypherpunks.ru/gogost/v5/gost34112012256"
+        "go.cypherpunks.su/gogost/v6/gost3410"
+        "go.cypherpunks.su/gogost/v6/gost34112012256"
     )
     func main() {
         data := []byte("data to be signed")
index 886bbf8b925ed57883737dc099fc8571a5e8e0d9..6ff1f5288013d675d32ff29d8bdc449238c27ce1 100644 (file)
@@ -28,8 +28,8 @@ import (
        "os"
        "time"
 
-       "crypto/go.cypherpunks.ru/gogost/v5/gost3410"
-       "crypto/go.cypherpunks.ru/gogost/v5/gost34112012256"
+       "crypto/go.cypherpunks.su/gogost/v6/gost3410"
+       "crypto/go.cypherpunks.su/gogost/v6/gost34112012256"
 )
 
 const (
index 0489730193a4538140be332de51aab8ce57e28f2..e20238f1551fbc387f141bd730292d0843dd08d1 100644 (file)
@@ -23,8 +23,8 @@ import (
        "io"
        "os"
 
-       "go.cypherpunks.ru/gogost/v5"
-       "go.cypherpunks.ru/gogost/v5/gost34112012256"
+       "go.cypherpunks.su/gogost/v6"
+       "go.cypherpunks.su/gogost/v6/gost34112012256"
 )
 
 var (
index 5f7c4353a0197195a248bb28c82866a2c3ca140d..fdb81ec8310c33cd50dc3a07796881fdbdac3b17 100644 (file)
@@ -23,8 +23,8 @@ import (
        "io"
        "os"
 
-       "go.cypherpunks.ru/gogost/v5"
-       "go.cypherpunks.ru/gogost/v5/gost34112012512"
+       "go.cypherpunks.su/gogost/v6"
+       "go.cypherpunks.su/gogost/v6/gost34112012512"
 )
 
 var (
diff --git a/go.mod b/go.mod
index 2b80ff57f4318c2cf5ef55abf1e1bbf892bfb855..50f798e6453017f1aa1f46088e90ab112ecf7af5 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module go.cypherpunks.ru/gogost/v5
+module go.cypherpunks.su/gogost/v6
 
 go 1.21
 
index 5362d7ac5ed8ef9fc6df340c9e9beef234599b55..7f42dc25fc1922482b53c77f211997f75c44c5d7 100644 (file)
--- a/gogost.go
+++ b/gogost.go
@@ -1,4 +1,4 @@
 // Pure Go GOST cryptographic functions library.
 package gogost
 
-const Version = "5.15.0"
+const Version = "6.0.0"
index 0bb8e3d93699546724398eb218214aaf6128ba0a..99ee1672973b6273775499c0700631344d16bc21 100644 (file)
@@ -20,8 +20,8 @@ import (
        "fmt"
        "math/big"
 
-       "go.cypherpunks.ru/gogost/v5/gost28147"
-       "go.cypherpunks.ru/gogost/v5/gost341194"
+       "go.cypherpunks.su/gogost/v6/gost28147"
+       "go.cypherpunks.su/gogost/v6/gost341194"
 )
 
 // RFC 4357 VKO GOST R 34.10-2001 key agreement function.
index bb1a9edc4fcb3d04a6cc21c3d0bd0d975d17ccad..61baee440a005954a916bf30c1fd6d357945ae15 100644 (file)
@@ -19,8 +19,8 @@ import (
        "fmt"
        "math/big"
 
-       "go.cypherpunks.ru/gogost/v5/gost34112012256"
-       "go.cypherpunks.ru/gogost/v5/gost34112012512"
+       "go.cypherpunks.su/gogost/v6/gost34112012256"
+       "go.cypherpunks.su/gogost/v6/gost34112012512"
 )
 
 // RFC 7836 VKO GOST R 34.10-2012 256-bit key agreement function.
index caf43ba777a12c70a9ffbad256335065eba0e651..51eb750c3c7f19812403f8a7fae7e9476a7a25a6 100644 (file)
@@ -20,7 +20,7 @@ package gost34112012256
 import (
        "hash"
 
-       "go.cypherpunks.ru/gogost/v5/internal/gost34112012"
+       "go.cypherpunks.su/gogost/v6/internal/gost34112012"
 )
 
 const (
index 9ee032ef9592244ee8780cf03a0ff0ec4bc4b02c..1de28344798f3563b7d1bba291d5062ba2ebfffd 100644 (file)
@@ -20,7 +20,7 @@ package gost34112012512
 import (
        "hash"
 
-       "go.cypherpunks.ru/gogost/v5/internal/gost34112012"
+       "go.cypherpunks.su/gogost/v6/internal/gost34112012"
 )
 
 const (
index d12db62a0b2d2ae27e7a9b3f40d94a928039eca8..53eb49c6aaeff5e25bc2522605cf8f7ece917e66 100644 (file)
@@ -22,7 +22,7 @@ import (
        "encoding/binary"
        "math/big"
 
-       "go.cypherpunks.ru/gogost/v5/gost28147"
+       "go.cypherpunks.su/gogost/v6/gost28147"
 )
 
 const (
index 9a935c812762149aeee810c03df496b531c600d1..4ad8f1d15cd66fa068ecd4d5b744b91b44d8b656 100644 (file)
@@ -22,7 +22,7 @@ import (
        "testing"
        "testing/quick"
 
-       "go.cypherpunks.ru/gogost/v5/gost28147"
+       "go.cypherpunks.su/gogost/v6/gost28147"
 )
 
 func TestHashInterface(t *testing.T) {
index 7d481b15f34c104618e9c784224901581bc90999..82f7d9dc6403436c280f6056a06210b150fe34e8 100644 (file)
@@ -20,7 +20,7 @@ import (
        "hash"
        "testing"
 
-       "go.cypherpunks.ru/gogost/v5/gost28147"
+       "go.cypherpunks.su/gogost/v6/gost28147"
        "golang.org/x/crypto/pbkdf2"
 )
 
index 4d4d7a964f57492f5fcd6c7da4610c930eacc0e2..915a942100c9a88df470e1368e634884be39e35e 100644 (file)
@@ -17,7 +17,7 @@
 package gost341264
 
 import (
-       "go.cypherpunks.ru/gogost/v5/gost28147"
+       "go.cypherpunks.su/gogost/v6/gost28147"
 )
 
 const (
index 332c8054ce5ae3f856450a2647bbadd6ceb81dc3..559fc46bf51a6bcbcf657260cdc97a775d8476f4 100644 (file)
@@ -21,8 +21,8 @@ And then you can include its source code in your project for example
 like this:
 
 @example
-$ mkdir -p myproj/vendor/go.cypherpunks.ru/gogost
-$ mv gogost-@value{VERSION} myproj/vendor/go.cypherpunks.ru/gogost/v5
+$ mkdir -p myproj/vendor/go.cypherpunks.su/gogost
+$ mv gogost-@value{VERSION} myproj/vendor/go.cypherpunks.su/gogost/v6
 $ cd myproj
 $ cat >main.go <<EOF
 package main
@@ -31,7 +31,7 @@ import (
     "encoding/hex"
     "fmt"
 
-    "go.cypherpunks.ru/gogost/v5/gost34112012256"
+    "go.cypherpunks.su/gogost/v6/gost34112012256"
 )
 
 func main() @{
@@ -50,18 +50,18 @@ GoGOST is also @command{go get}-able. For example to install
 @command{streebog256} utility:
 
 @example
-$ go install go.cypherpunks.ru/gogost/v5/cmd/streebog256@@latest
+$ go install go.cypherpunks.su/gogost/v6/cmd/streebog256@@latest
 @end example
 
-Aware that @code{go.cypherpunks.ru} uses
+Aware that @code{go.cypherpunks.su} uses
 @url{//www.ca.cypherpunks.ru, ca.cypherpunks.ru} X.509 certificate authority.
 
 @itemize
 
 @item Go's default @code{proxy.golang.org} and @code{sum.golang.org}
-services won't be able to verify @code{go.cypherpunks.ru}'s TLS
+services won't be able to verify @code{go.cypherpunks.su}'s TLS
 authenticity, because there are no common trust anchors. You can skip
-their usage by setting @env{$GOPRIVATE=go.cypherpunks.ru}.
+their usage by setting @env{$GOPRIVATE=go.cypherpunks.su}.
 
 @item You can (temporarily) override CA bundle during installation with
 @env{$SSL_CERT_FILE} environment variable.
@@ -70,8 +70,8 @@ their usage by setting @env{$GOPRIVATE=go.cypherpunks.ru}.
 your local @file{go.mod}:
 
 @example
-require go.cypherpunks.ru/gogost/v5 v@value{VERSION}
-replace go.cypherpunks.ru/gogost/v5 => /path/to/gogost-@value{VERSION}
+require go.cypherpunks.su/gogost/v6 v@value{VERSION}
+replace go.cypherpunks.su/gogost/v6 => /path/to/gogost-@value{VERSION}
 @end example
 
 @end itemize
index 9df177b303103cc005587e7a9bfc2569298acc14..3cef6ecdb6f28e9a8f4eb3e0dddf6b9609fec81a 100644 (file)
@@ -23,8 +23,8 @@ import (
        "testing"
        "testing/quick"
 
-       "go.cypherpunks.ru/gogost/v5/gost3412128"
-       "go.cypherpunks.ru/gogost/v5/gost341264"
+       "go.cypherpunks.su/gogost/v6/gost3412128"
+       "go.cypherpunks.su/gogost/v6/gost341264"
 )
 
 func TestVector(t *testing.T) {
index 395f31af6ee948e42cd12a129fa634f37fd4de1c..9b4ee124c8a818e0ecc29641c1e18561f1882b97 100644 (file)
@@ -19,7 +19,7 @@ import (
        "crypto/rand"
        "testing"
 
-       "go.cypherpunks.ru/gogost/v5/gost3412128"
+       "go.cypherpunks.su/gogost/v6/gost3412128"
 )
 
 func BenchmarkMul128(b *testing.B) {
index ce8190015db6f886c01ab953d6264074ba132355..12d62bf55d1d221da421df314a67f8a5e65c774e 100644 (file)
@@ -19,7 +19,7 @@ import (
        "crypto/rand"
        "testing"
 
-       "go.cypherpunks.ru/gogost/v5/gost341264"
+       "go.cypherpunks.su/gogost/v6/gost341264"
 )
 
 func BenchmarkMul64(b *testing.B) {
index 018fe7b27676e5729ecfa71e1fbb6cb541166842..d59e36747617f99393ca283a9745cb41fba2e5e4 100644 (file)
--- a/news.texi
+++ b/news.texi
@@ -3,6 +3,13 @@
 
 @table @strong
 
+@anchor{Release 6.0.0}
+@item 6.0.0
+Changed namespace because of domain expiration:
+@verbatim
+go.cypherpunks.ru/gogost/v5 -> go.cypherpunks.su/gogost/v6
+@end verbatim
+
 @anchor{Release 5.15.0}
 @item 5.15.0
 Optimised Streebog implementation with precalculated tables.
index 575558667d981afb168a2a75a2ad2ec2da62b66f..8d2a9173e68223d628896b94a96f704014129aa5 100644 (file)
@@ -20,8 +20,8 @@ import (
        "crypto/hmac"
        "hash"
 
-       "go.cypherpunks.ru/gogost/v5/gost34112012256"
-       "go.cypherpunks.ru/gogost/v5/gost34112012512"
+       "go.cypherpunks.su/gogost/v6/gost34112012256"
+       "go.cypherpunks.su/gogost/v6/gost34112012512"
 )
 
 type PRFIPsecPRFPlusGOSTR34112012 struct{ h hash.Hash }
index e004751f1b439e49bcb69c6da7eac48c84eef0ca..c73f4b072c13d2957f6fe60fe0385f647b721f36 100644 (file)
--- a/www.texi
+++ b/www.texi
@@ -66,8 +66,8 @@ Example 34.10-2012-256 keypair generation, signing and verifying:
 import (
     "crypto/rand"
     "io"
-    "go.cypherpunks.ru/gogost/v5/gost3410"
-    "go.cypherpunks.ru/gogost/v5/gost34112012256"
+    "go.cypherpunks.su/gogost/v6/gost3410"
+    "go.cypherpunks.su/gogost/v6/gost34112012256"
 )
 func main() {
     data := []byte("data to be signed")