Aleksander Machniak
2016-04-02 4c7ce7bfc917ca76dede8ae29ad4ab96a67968fd
plugins/enigma/lib/enigma_driver_gnupg.php
@@ -339,6 +339,17 @@
        }
    }
    public function pubkey_for_attach($email)
    {
        try {
            $pubkey = $this->gpg->exportPublicKey($email, true);
            return $pubkey;
        }
        catch (Exception $e) {
            return $this->get_error_from_exception($e);
        }
    }
    /**
     * Converts Crypt_GPG exception into Enigma's error object
     *