diff --git a/CHANGELOG b/CHANGELOG index e4a02f10c48..d8ec2412723 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ CHANGELOG Roundcube Webmail - Managesieve: Fix handling of scripts with nested rules (#5540) - Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity (#5544) - Enigma: Fix PHP fatal error when decrypting a message with invalid signature (#5555) +- Enigma: Fix missing require statement for Crypt_GPG_KeyGenerator (#5641) - Fix adding images to new identity signatures - Fix rsync error handling in installto.sh script (#5562) - Fix some advanced search issues with multiple addressbooks (#5572) diff --git a/plugins/enigma/lib/enigma_driver_gnupg.php b/plugins/enigma/lib/enigma_driver_gnupg.php index afa54ed2ea6..04e0476cd0b 100644 --- a/plugins/enigma/lib/enigma_driver_gnupg.php +++ b/plugins/enigma/lib/enigma_driver_gnupg.php @@ -281,6 +281,8 @@ public function get_key($keyid) */ public function gen_key($data) { + require_once 'Crypt/GPG/KeyGenerator.php'; + try { $debug = $this->rc->config->get('enigma_debug'); $keygen = new Crypt_GPG_KeyGenerator(array(