GPGTips
Jump to navigation
Jump to search
This page contains tips for getting GnuPG support up and running in RT. You will need at least RT 3.8.0 for GPG support, and it is strongly recommended to use the latest release available, as the functionality is new and being improved continually.
Configuration
See the perldoc for RT::Crypt::GnuPG for the overall instructions on setting up GPG support.
- You probably want your GPG keyrings to live in a subdirectory of your RT install directory, the recommended location is $RTHOME/var/data/gpg
(!) We had to actually CREATE the $RTHOME/var/data/gpg directory, and chown it to our Webaccount (cwis) to make it work.
- When passing gpg options in %GnuPGOptions in your RT_SiteConfig.pm, do not include the "--" at the beginning of them! The documentation is unclear on this point (as of 3.8.1), but the "--" should definitely not be included.
- If you are using RT 3.8.1 or earlier and want to pass the passphrase to gpg in %GnuPGOptions, you need to apply the patch from ticket number 12424 (http://issues.bestpractical.com/Ticket/Display.html?id=12424) for it to work correctly.
If you have any more tips and tricks for getting GnuPG up and running, add them here!