]> Cypherpunks.ru repositories - pyderasn.git/blob - doc/install.rst
Raise copyright years
[pyderasn.git] / doc / install.rst
1 Install
2 =======
3
4 Preferable way is to :ref:`download <download>` tarball with the
5 signature from `official website <http://www.pyderasn.cypherpunks.ru/>`__::
6
7     $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.3.tar.zst
8     $ [fetch|wget] http://www.pyderasn.cypherpunks.ru/download/pyderasn-9.3.tar.zst.asc
9     $ gpg --verify pyderasn-9.3.tar.zst.asc pyderasn-9.3.tar.zst
10     $ zstd -d < pyderasn-9.3.tar.zst | tar xf -
11     $ cd pyderasn-9.3
12     $ python setup.py install
13     # or copy pyderasn.py (possibly termcolor.py) to your PYTHONPATH
14
15 * ``termcolor`` is an optional dependency used for output colourizing.
16 * ``urwid`` is an optional dependency used for :ref:`interactive browser <browser>`.
17 * ``dateutil`` is an optional dependency used for ``.totzdatetime()`` method.
18
19 You have to verify downloaded tarballs integrity and authenticity to be
20 sure that you retrieved trusted and untampered software. `GNU Privacy
21 Guard <https://www.gnupg.org/>`__ is used for that purpose.
22
23 For the very first time it is necessary to get signing public key and
24 import it. It is provided below, but you should check alternative
25 resources.
26
27 ::
28
29     pub   rsa2048/0x04A933D1BA20327A 2017-09-20
30           2ED6 C846 3051 02DF 5B4E  0383 04A9 33D1 BA20 327A
31     uid   PyDERASN releases <pyderasn@cypherpunks.ru>
32
33     $ gpg --auto-key-locate dane --locate-keys pyderasn at cypherpunks dot ru
34     $ gpg --auto-key-locate  wkd --locate-keys pyderasn at cypherpunks dot ru
35
36 .. literalinclude:: ../PUBKEY.asc