On 01/09/2016 11:03 AM, Владимир Горпенко wrote: > Soon I will begin work with the Rcube 1.2 version. > > As as I understand, in this version essential changes for encryption of > mail are made, I would be very grateful to receive recommendations about > application of my algorithms in the new RCube version.
Yes. In 1.2 you have all parts needed for encryption already implemented. The Enigma plugin which implements PGP is prepared to provide also S/MIME encryption in the future. So, the best would be to focus on integrating your code with Enigma. It is to be decided if we want a separate interface to manage certificates or to store/display them on the same list with PGP keys. Anyway, some UI work will be needed. The plugin code assumes certificates and keys can be handled in the same unified way, but I didn't yet try S/MIME much, so some modifications may be needed (to the key, subkey, userid, signature "interfaces"). Most important places to take a look: - enigma_engine and enigma_ui - The engine will need some small changes - enigma_driver_phpssl - S/MIME driver complete implementation (the is the only place in enigma classes where openssl functions should be used) - enigma_mime_message - Mail_mime wrapper where encrypted/signed messages are created - needed code to build S/MIME messages. -- Aleksander 'A.L.E.C' Machniak Kolab Groupware Developer [http://kolab.org] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
