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