From 39f93b270003014c19f7aaba0ecaf156fbb66f3a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 3 Apr 2015 20:29:07 +0200 Subject: Enigma: added composer.json file --- plugins/enigma/README | 20 ++++++++++++++------ plugins/enigma/enigma.php | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/plugins/enigma/README b/plugins/enigma/README index 25a160780..f8368a818 100644 --- a/plugins/enigma/README +++ b/plugins/enigma/README @@ -1,10 +1,19 @@ ------------------------------------------------------------------- -THIS IS NOT EVEN AN "ALPHA" STATE. USE ONLY FOR DEVELOPMENT!!!!!!! ------------------------------------------------------------------- +--------------------------------------------------------------------------- +This plugin adds support for viewing and sending of signed and/or encrypted +messages in PGP (RFC 2440) and PGP/MIME (RFC 3156) format. + +The plugin uses gpg binary on the server and stores all keys +(including private keys of the users) on the server. +Encryption/decryption is done server-side. So, this plugin +is for users that trust the server. + +WARNING! The plugin is in very early state. See below for a list +of missing features and known bugs/limitations. +--------------------------------------------------------------------------- WARNING: Don't use with gnupg-2.x! -Plugin Status: +Implemented features: + PGP: signatures verification + PGP: messages decryption @@ -20,10 +29,8 @@ TODO (must have): - Disable Reply/Forward options when viewing encrypted messages until they are decrypted successfully - Handling of replying/forwarding of encrypted/signed messages -- Add composer.json file - Performance improvements: - cache decrypted message key id so we can skip decryption if we have no password in session - - cache (last or successful only?) sig verification status to not verify on every msg preview (optional) TODO (later): @@ -45,6 +52,7 @@ TODO (later): - Change attachment icon on messages list for encrypted messages (like vcard_attachment plugin does) - Support for multi-server installations (store keys in sql database?) - Per-Identity settings (including keys/certs) +- Cache (last or successful only?) sig verification status to not verify on every msg preview (optional) - S/MIME: Certs generation - S/MIME: Certs management diff --git a/plugins/enigma/enigma.php b/plugins/enigma/enigma.php index 0c732906b..10b8048c6 100644 --- a/plugins/enigma/enigma.php +++ b/plugins/enigma/enigma.php @@ -24,6 +24,7 @@ class enigma extends rcube_plugin public $task = 'mail|settings'; public $rc; public $engine; + public $ui; private $env_loaded = false; @@ -68,7 +69,6 @@ class enigma extends rcube_plugin $this->add_hook('preferences_save', array($this, 'preferences_save')); // register handler for keys/certs management -// $this->register_action('plugin.enigma', array($this, 'preferences_ui')); $this->register_action('plugin.enigmakeys', array($this, 'preferences_ui')); // $this->register_action('plugin.enigmacerts', array($this, 'preferences_ui')); -- cgit v1.2.3