doc/readme.md
author Volker Birk <vb@pep.foundation>
Tue, 16 Jan 2018 08:48:01 +0100
changeset 2390 8c00cb3e29ff
parent 2040 3a83ac7f8f32
child 2606 6bb1d3db6e36
permissions -rw-r--r--
Windoze…
     1 <!-- Copyright 2015-2017, pEp foundation, Switzerland
     2 This file is part of the pEp Engine
     3 This file may be used under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) License
     4 See CC_BY-SA.txt -->
     5 
     6 # Information about the pEp Engine
     7 
     8 # Dependencies
     9 The p≡p Engine depends on the following projects:
    10 
    11 - run-time dependencies
    12   - One of the following OpenPGP implementations:
    13     - GnuPG version 2.1.17 or later with GPGME (at least version 1.7.0) [https://gnupg.org/](https://gnupg.org/)
    14     - For platforms not supporting pinentry (e.g. Android) - GnuPG version 2.0.30 with GPGME version 1.6.0 (or later) [https://gnupg.org/](https://gnupg.org/)
    15     - a fork of NetPGP, [https://cacert.pep.foundation/dev/repos/netpgp-et/](https://cacert.pep.foundation/dev/repos/netpgp-et/)
    16   - a fork of libetpan, [https://github.com/fdik/libetpan](https://github.com/fdik/libetpan)
    17   - zlib, [http://zlib.net/](http://zlib.net/)
    18   - libcurl (Only with NetPGP), [https://curl.haxx.se/libcurl/](https://curl.haxx.se/libcurl/)
    19   - libuuid, [https://www.kernel.org/pub/linux/utils/util-linux/](https://www.kernel.org/pub/linux/utils/util-linux/)
    20   - SQLite, [https://sqlite.org](https://sqlite.org)
    21   - OpenSSL (Only with NetPGP), [https://www.openssl.org](https://www.openssl.org)
    22 - compile-time dependencies
    23   - asn1c (version v0.9.28), [http://lionet.info/asn1c/blog/](http://lionet.info/asn1c/blog/)
    24   - yml2, [https://fdik.org/yml//toolchain](https://fdik.org/yml//toolchain)
    25   - One of the following build systems:
    26     - GNU make (on Linux and macOS)
    27     - MSBuild distributed with Microsoft Visual Studio 2015 (on Windows)
    28   - One of the following compilers for C and C++:
    29     - GNU GCC (on Linux)
    30     - Apple "clang" LLVM (on MacOS)
    31     - Microsoft MSVC/MSVC++ distributed with Microsoft Visual Studio 2015 (on Windows)
    32   - A script for compiling OpenSSL for iOS, [https://github.com/sinofool/build-openssl-ios/](https://github.com/sinofool/build-openssl-ios/)
    33 
    34 # The pEp Engine's databases
    35 The p≡p Engine uses two databases:
    36 
    37 - the management database
    38   - `~/.pEp_management` on \*NIX
    39   - `%LOCALAPPDATA%\pEp\management.db` on Windows
    40 - the Trustword database
    41   - `/usr/local/share/system.db` on \*NIX
    42   - `%ALLUSERSPROFILE%\pEp\system.db` on Windows
    43 
    44 The management db is created by the first call of `init()` of p≡p Engine.
    45 It does not need to be created manually.
    46 `system.db` is created by using the DDL in `db/create_system_db.sql`; the database content is created by `db/dic2csv.py` out of hunspell's dictionary packages (or something similar) and then imported using `sqlite3`'s `.import` command.
    47 Dictionary files for different languages are part of the p≡p Engine source distribution.
    48 
    49 You can test the Trustwords in `system.db` using `db/trustwords.py`.
    50 Both Python tools have a `--help` switch.