[Tickets #2782] S/MIME Sign using browser capabilities

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Sep 6 04:30:09 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2782
-----------------------------------------------------------------------
 Ticket             | 2782
 Updated By         | mfernandez at gva.es
 Summary            | S/MIME Sign using browser capabilities
 Queue              | IMP
 Version            | HEAD
 Type               | Enhancement
 State              | Feedback
 Priority           | 1. Low
 Owners             | Horde Developers, Michael Slusarz
+New Attachment     | horde-imp-signing-2.patch
-----------------------------------------------------------------------


mfernandez at gva.es (2006-09-06 04:30) wrote:

I am refactoring the code to minimize changes.
My goal now is to keep original openssl signature implementation
untainted, as well as providing the new browser signing feature.
The patch has no major changes, only refactoring.
I said before my idea is to extend IMP, not to change code. So I created a
new class IMP_SMIME_Delegate_Encryption extending IMP_SMIME that makes no
use of openssl. Instead, it just uses the signature passed from the web
form and set into this new object.
I had to extract some functionality from superclass
Horde_Crypt_smime::signMIMEPart() into a new method
Horde_Crypt_smime::wrapMessageInSMIME() so it could be called from the new
class.
I guess the new class's name is awful. I would appreciate any suggestion
of a better name for it.
I attach horde-imp-signing-2.patch
There is a lot more to do regarding functionality, but I want to clean up
this code first while it's still small.
As usual, any comments are welcome!

Mariano.




More information about the bugs mailing list