VERSION | 2 +- download.texi | 32 +++++++++++++++++++------------- news.texi | 16 ++++++++++++++++ pygost/__init__.py | 2 ++ www.texi | 4 ++-- diff --git a/VERSION b/VERSION index dddd2b6fe8e64351ebd48d13898cd77b3dd21803c72f8a028b265ed6c316055f..1895f81d1738a241e12e69233c2d67e0f2283cc2a6c9b2db4f148658fcdf4d58 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0 +4.1 diff --git a/download.texi b/download.texi index 539b7fae3740df1743ebae46ad62da7c40faf3322c91d6c9e76efe26e2094d0e..d1ece8eeaa0f1c3c8f8689067dd0ced1bff119cc28974a9ff5aa03e9c8b15800 100644 --- a/download.texi +++ b/download.texi @@ -1,18 +1,20 @@ @node Download @unnumbered Download +@set VERSION 4.1 + No additional dependencies except Python 2.7/3.x interpreter are required. Preferable way is to download tarball with the signature: -@verbatim -$ wget http://pygost.cypherpunks.ru/pygost-4.0.tar.xz -$ wget http://pygost.cypherpunks.ru/pygost-4.0.tar.xz.sig -$ gpg --verify pygost-4.0.tar.xz.sig pygost-4.0.tar.xz -$ xz -d < pygost-4.0.tar.xz | tar xf - -$ cd pygost-4.0 +@example +$ [fetch|wget] http://pygost.cypherpunks.ru/pygost-@value{VERSION}.tar.xz +$ [fetch|wget] http://pygost.cypherpunks.ru/pygost-@value{VERSION}.tar.xz.sig +$ gpg --verify pygost-@value{VERSION}.tar.xz.sig pygost-@value{VERSION}.tar.xz +$ xz --decompress --stdout pygost-@value{VERSION}.tar.xz | tar xf - +$ cd pygost-@value{VERSION} $ python setup.py install -@end verbatim +@end example @multitable {XXXXX} {XXXX-XX-XX} {XXXX KiB} {link sign} {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} {xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} @headitem Version @tab Date @tab Size @tab Tarball @tab SHA256 checksum @tab Streebog-256 checksum @@ -92,11 +94,15 @@ @tab @code{42cfd0cdf357997a909a9114ca14391b4c5e8b62e298675f899b80a8a26d690f} @end multitable -But also you can use PIP (@strong{no} authentication is performed!): +But also you can use pip (@strong{no} OpenPGP authentication is +performed!) with PyPI: -@verbatim -$ pip install pygost==3.15 -@end verbatim +@example +$ cat > requirements.txt < id-GostR3410-2001-CryptoPro-A-ParamSet +id-GostR3410-2001-CryptoPro-XchB-ParamSet -> id-GostR3410-2001-CryptoPro-C-ParamSet +id-tc26-gost-3410-2012-256-paramSetB -> id-GostR3410-2001-CryptoPro-A-ParamSet +id-tc26-gost-3410-2012-256-paramSetC -> id-GostR3410-2001-CryptoPro-B-ParamSet +id-tc26-gost-3410-2012-256-paramSetD -> id-GostR3410-2001-CryptoPro-C-ParamSet +@end verbatim + @item Forbid any later GNU GPL version autousage (project's licence + now is GNU GPLv3 only) + @end itemize + @anchor{Release 4.0} @item 4.0 @itemize diff --git a/pygost/__init__.py b/pygost/__init__.py index 0d8988eb5f15a16eabf19b6ff4e58d898859cadc199c9e6369a9677260b3a4a9..751fc3144849ff59a0b43d3aa1738602a8926b3016d4a5d4127d21ba3790a10b 100644 --- a/pygost/__init__.py +++ b/pygost/__init__.py @@ -2,3 +2,5 @@ """ Pure Python GOST cryptographic functions library. PyGOST is free software: see the file COPYING for copying conditions. """ + +__version__ = "4.1" diff --git a/www.texi b/www.texi index 7138bb5a0d045eb7795d581306db8ad1971d163e97540858177cdeb7f90755dd..2e88e823490b97d5c0d680f690d54b6829dbb523dac7719ad607c4eced3b035a 100644 --- a/www.texi +++ b/www.texi @@ -60,7 +60,7 @@ @end itemize Example 34.10-2012 keypair generation, signing and verifying: -@verbatim +@example >>> from pygost.gost3410 import CURVES >>> curve = CURVES["id-tc26-gost-3410-12-512-paramSetA"] >>> from os import urandom @@ -80,7 +80,7 @@ >>> signature = sign(curve, prv, dgst, mode=2012) >>> from pygost.gost3410 import verify >>> verify(curve, pub, dgst, signature, mode=2012) True -@end verbatim +@end example Please send questions, bug reports and patches to @url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost}