Hi everyone !

I noticed the 3DES cipher is used to encrypt emails with S/MIME and I would like to use another one.

This is a comment I've seen in secmime.c :

/*
    * XXX Should have a #define somewhere which specifies default
    * strong cipher.  (Or better, a way to configure, which would
    * take Fortezza into account as well.)
    */

   /* If the user has the Fortezza preference turned on, make
    *  that the strong cipher. Otherwise, use triple-DES. */

Is the only way to choose a cipher is to hack into the code ?
For the moment, I've changed the references of SMIME_DES_EDE3_168 to the cipher chosen but it doesn't work yet. Therefore I wonder if there is a better way to choose a cipher or if the way I've done it is correct.

Thank you for your time.

Grégory.


--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to