Aleksander Machniak
2015-04-03 39f93b270003014c19f7aaba0ecaf156fbb66f3a
Enigma: added composer.json file
2 files modified
22 ■■■■■ changed files
plugins/enigma/README 20 ●●●● patch | view | raw | blame | history
plugins/enigma/enigma.php 2 ●●● patch | view | raw | blame | history
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 @@
- 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 @@
- 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
plugins/enigma/enigma.php
@@ -24,6 +24,7 @@
    public $task = 'mail|settings';
    public $rc;
    public $engine;
    public $ui;
    private $env_loaded  = false;
@@ -68,7 +69,6 @@
            $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'));