]> Cypherpunks.ru repositories - pygost.git/blob - install.texi
Unify quotes
[pygost.git] / install.texi
1 @node Download
2 @unnumbered Download
3
4 @set VERSION 4.9
5
6 No additional dependencies except Python 2.7/3.x interpreter are required.
7
8 Preferable way is to download tarball with the signature:
9
10 @example
11 $ [fetch|wget] http://www.pygost.cypherpunks.ru/pygost-@value{VERSION}.tar.xz
12 $ [fetch|wget] http://www.pygost.cypherpunks.ru/pygost-@value{VERSION}.tar.xz.sig
13 $ gpg --verify pygost-@value{VERSION}.tar.xz.sig pygost-@value{VERSION}.tar.xz
14 $ xz --decompress --stdout pygost-@value{VERSION}.tar.xz | tar xf -
15 $ cd pygost-@value{VERSION}
16 $ python setup.py install
17 @end example
18
19 @include download.texi
20
21 But also you can use pip (@strong{no} OpenPGP authentication is
22 performed!) with PyPI:
23
24 @example
25 $ echo pygost==@value{VERSION} --hash=sha256:ae9503c689e1560ce1a37e2359b0503cd07dd353079ad7187293235bd1eb72dd > requirements.txt
26 $ pip install --requirement requirements.txt
27 @end example
28
29 You @strong{have to} verify downloaded tarballs integrity and
30 authenticity to be sure that you retrieved trusted and untampered
31 software. @url{https://www.gnupg.org/, GNU Privacy Guard} is used
32 for that purpose.
33
34 For the very first time it is necessary to get signing public key and
35 import it. It is provided below, but you should check alternative
36 resources.
37
38 @verbatim
39 pub   rsa2048/0xE6FD1269CD0C009E 2016-09-13
40       F55A 7619 3A0C 323A A031  0E6B E6FD 1269 CD0C 009E
41 uid   PyGOST releases <pygost at cypherpunks dot ru>
42 @end verbatim
43
44 @itemize
45
46 @item @url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost} maillist
47
48 @item
49 @example
50 $ gpg --auto-key-locate dane --locate-keys pygost at cypherpunks dot ru
51 $ gpg --auto-key-locate wkd --locate-keys pygost at cypherpunks dot ru
52 @end example
53
54 @item
55 @verbatiminclude PUBKEY.asc
56
57 @end itemize
58
59 You can obtain development source code with
60 @command{git clone git://git.cypherpunks.ru/pygost.git}.