INSTALL | 34 +++++++++++++++++++--------------- NEWS | 8 ++++++++ VERSION | 2 +- common.mk | 9 +++++---- download.texi | 36 +++++++++++++++++++++--------------- makedist.sh | 24 +++++++++++++++++++----- news.texi | 6 ++++++ diff --git a/INSTALL b/INSTALL index 1353e02a06d7389ea17a48d64b7117748a5dfffce8f93b9f1683031e7f2ee81d..cff1dfb858b2309ca36c8960e29100e0ed40f9ee81748cd668bceacb0d902bb7 100644 --- a/INSTALL +++ b/INSTALL @@ -1,28 +1,29 @@ Preferable way is to download tarball with the signature from official website and, for example, run tests with benchmarks: - % wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz - % wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz.sig - % gpg --verify gogost-1.1.tar.xz.sig gogost-1.1.tar.xz - % xz -d < gogost-1.1.tar.xz | tar xf - - % make -C gogost-1.1 all bench - % echo hello world | ./gogost-1.1/streebog256 + $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz + $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz.sig + $ gpg --verify gogost-4.1.0.tar.xz.sig gogost-4.1.0.tar.xz + $ xz -d < gogost-4.1.0.tar.xz | tar xf - + $ make -C gogost-4.1.0 all bench + $ echo hello world | ./gogost-4.1.0/streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d And then you can include its source code in your project for example like this: - % mkdir -p myproj/src - % export GOPATH=$PWD/myproj - % cd myproj/src - % cat > main.go < main.go < Look in PUBKEY.asc file. - % gpg --auto-key-locate dane --locate-keys gogost at cypherpunks dot ru - % gpg --auto-key-locate wkd --locate-keys gogost at cypherpunks dot ru + $ gpg --auto-key-locate dane --locate-keys gogost at cypherpunks dot ru + $ gpg --auto-key-locate wkd --locate-keys gogost at cypherpunks dot ru diff --git a/NEWS b/NEWS index 0d3b5fcba5440fdc140aafc3f1b571a2e1296de74282fa9f2a9a84ee7d1b1ad7..e21170c9457a9020c367855c8785f18ae8a90e15cb9d0a228e2b6edb56f71991 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +4.1: + * ESPTREE implementation + * CurveIdtc26gost34102012256paramSetB, CurveIdtc26gost34102012256paramSetC, + CurveIdtc26gost34102012256paramSetD curve aliases + * Forbid any later GNU GPL version autousage + (project's licence now is GNU GPLv3 only) + * Project now is go-get-able: go get go.cypherpunks.ru/gogost/v4 + 4.0: * Backward incompatible change: all keys passing to encryption functions are slices now, not the fixed arrays. That heavily diff --git a/VERSION b/VERSION index dddd2b6fe8e64351ebd48d13898cd77b3dd21803c72f8a028b265ed6c316055f..1895f81d1738a241e12e69233c2d67e0f2283cc2a6c9b2db4f148658fcdf4d58 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0 +4.1 diff --git a/common.mk b/common.mk index cd0d63456643b89227ddab1d74e825a24c914a0764ca34b578cc58238eaf91f9..4718f8bfdccf23612558af7150853ae2c2247643ac2ff2cbcd8bc9ee36b5d499 100644 --- a/common.mk +++ b/common.mk @@ -1,12 +1,13 @@ -LDFLAGS = -X cypherpunks.ru/gogost.Version=$(VERSION) +MOD = go.cypherpunks.ru/gogost/v4 +LDFLAGS = -X $(MOD).Version=$(VERSION) all: streebog256 streebog512 streebog256: - GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog256 + GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256 streebog512: - GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog512 + GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog512 bench: - GOPATH=$(GOPATH) go test -benchmem -bench . cypherpunks.ru/gogost/... + GOPATH=$(GOPATH) go test -benchmem -bench . $(MOD)/... diff --git a/download.texi b/download.texi index 18a9b438374440a955673cca6bf666352a7d89e7f13632787eeead55fc720734..b1a86a410871c678bd98ef3c12e3cf56f9f16431ba00a3f9cb9e0af4adafd4d8 100644 --- a/download.texi +++ b/download.texi @@ -5,12 +5,12 @@ Preferable way is to download tarball with the signature from website and, for example, run tests with benchmarks: @verbatim -% wget http://gogost.cypherpunks.ru/gogost-4.0.tar.xz -% wget http://gogost.cypherpunks.ru/gogost-4.0.tar.xz.sig -% gpg --verify gogost-4.0.tar.xz.sig gogost-4.0.tar.xz -% xz -d < gogost-4.0.tar.xz | tar xf - -% make -C gogost-4.0 all bench -% echo hello world | ./gogost-4.0/streebog256 +$ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz +$ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz.sig +$ gpg --verify gogost-4.1.0.tar.xz.sig gogost-4.1.0.tar.xz +$ xz -d < gogost-4.1.0.tar.xz | tar xf - +$ make -C gogost-4.1.0 all bench +$ echo hello world | ./gogost-4.1.0/streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d @end verbatim @@ -18,17 +18,18 @@ And then you can include its source code in your project for example like this: @verbatim -% mkdir -p myproj/src -% export GOPATH=$PWD/myproj -% cd myproj/src -% cat > main.go < main.go <