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:
the only place in enigma classes where openssl functions should be used)
messages are created - needed code to build S/MIME messages.