Change mcrypt on openssl
Due to the obsolescence of mcrypt (absence of updates of nearly 10 years) and its loss on openssl speed, I offer an exception it from dependences of a framework and its changeover by openssl. It is possible to mention as arguments that it want to exclude from PHP kernel long ago (https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts, https://wiki.php.net/rfc/mcrypt-viking-funeral), and also the fact that Phalcon already depends on openssl.
It is necessary to break backward compatibility as these extensions aren't interchanged. It would be interesting to listen to judgements of the people who are responsible for development of a framework.
I agree. @andresgutierrez @niden @xboston @carvajaldiazeduar
:+1:
https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong
I think that this is a good idea. Yes we will break backwards compatibility but we will break it for a very good reason and that is security. It is the same argument for using an older version of PHP vs a newer one and thus we dropped support for PHP 5.3.
Nothing beats a good design with solid security enhancements in place, but the tools have to match the effort and this move IMHO is more than welcome. We just have to make sure everyone knows about it so that they can adjust their code accordingly.
Implemented in 2.1.x branch