On 07/20/2016 09:40 AM, Nick Edwards wrote: > For security purposes we disable paths and functions, is there a way we > can enable the pgp binary if we move it to the enigma home directory?
You can already set path to gpg binary via enigma_pgp_binary option. However, for GnuPG 2.x you'll need to set also gpg-agent path which is not yet supported by config option. You'd need to set $options['agent'] around https://github.com/roundcube/roundcubemail/blob/master/plugins/enigma/lib/enigma_driver_gnupg.php#L87 > We have also > disable_functions = exec, shell_exec, system, virtual, show_source, > passthru, escapeshellcmd, proc_open, popen, pclose, phpinfo, > parse_ini_file, eval Crypt_GPG uses proc_open(). -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
