Aleksander Machniak
2016-04-02 ede293946c2ae49a7868e4513dd8c1325b3f898d
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
     *