Installation and Configuration¶
Installation¶
This extension can either be installed via composer:
composer req sudhaus7/sudhaus7-gpgadmin
or via the TER.
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

Important
in order to use the GPG binary, the functions popen and proc_open need to be enabled for your PHP installation.
Adding keys are simply be done by creating an GPG/PGP/OpenPGP Key Record in a Sysfolder of your choice.

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

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!