.. include:: /Includes.rst.txt .. _configuration: Installation and Configuration ============================== .. _installation: Installation ^^^^^^^^^^^^ This extension can either be installed via composer: .. code-block:: bash composer req sudhaus7/sudhaus7-gpgadmin or via the `TER `__. .. _configuretheextension: Configuration ^^^^^^^^^^^^^ If there is no `ext-gnupg `__ extension installed in your version of PHP, you need the CLI version of GPG or OpenPGP. Enter the path to this binary in the Extension setup like shown below .. figure:: ../Images/extensionsetup.png :alt: Extension settings .. important:: in order to use the GPG binary, the functions popen and proc_open need to be enabled for your PHP installation. .. _addingkeys: Adding keys are simply be done by creating an GPG/PGP/OpenPGP Key Record in a Sysfolder of your choice. .. figure:: ../Images/module.png :alt: GnuPG Admin module Simply enter your e-mail address and copy&paste your public key into the field. After saving below the field with the key information about its validity should be visible .. figure:: ../Images/addkey.png :alt: Add a new key .. important:: You need to add the public key for each recipient you plan to send emails to in order for the email to be encrypted! If no public key can be found for the used recipient of the email, the email will not be sent!