|
|
|
@ -42,6 +42,7 @@ class enigma_driver_gnupg extends enigma_driver
|
|
|
|
|
$homedir = $this->rc->config->get('enigma_pgp_homedir', INSTALL_PATH . 'plugins/enigma/home');
|
|
|
|
|
$debug = $this->rc->config->get('enigma_debug');
|
|
|
|
|
$binary = $this->rc->config->get('enigma_pgp_binary');
|
|
|
|
|
$agent = $this->rc->config->get('enigma_pgp_agent');
|
|
|
|
|
|
|
|
|
|
if (!$homedir) {
|
|
|
|
|
return new enigma_error(enigma_error::INTERNAL,
|
|
|
|
@ -84,6 +85,9 @@ class enigma_driver_gnupg extends enigma_driver
|
|
|
|
|
if ($binary) {
|
|
|
|
|
$options['binary'] = $binary;
|
|
|
|
|
}
|
|
|
|
|
if ($agent) {
|
|
|
|
|
$options['agent'] = $agent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Create Crypt_GPG object
|
|
|
|
|
try {
|
|
|
|
|