-
Notifications
You must be signed in to change notification settings - Fork 111
mcrypt is removed in PHP 7.2 #126
Comments
you will also some problems with the customer area in the backend:
i've fixed this with "rewrites" |
Hi guys, Personally I don't know much about Mcrypt, I suppose it used mostly to crypt password stored in DB but there is probably something more ( otherwise why just switch to a different cryptography library all the password ? I mean an extension, to be installed before switching to PHP 7.2 that migrate the passwords from mcrypt to the new lib ? ) At the moment I can only give the following contribution:
I have experience on M1 but not much with this part of the PHP libraries anyway I am glad to help anyone that has a better understanding of the issue, just let me know how :) |
Out of interest - what is the goal by upgrading to 7.2? There is a tangible speed benefit from going from 5.6.x to 7.0, and this extension works just fine with 7.0. |
So still PHP 7.1 left to use with MCrypt. |
Related to #98 |
@ivanweiler looking forward to the release, when is it expected? |
Update... As of today, the Ubuntu 18 Daily build has dropped all built in support for packages for php7.1. |
The development branch is seeing some activity as of 8 days ago. https://github.com/Inchoo/Inchoo_PHP7/tree/develop |
Any updates on this? I've now installed php7.2 locally and upgraded my OS to Ubuntu 18.04 due to some hardware support issues. |
I've found that installing mcrypt via pecl is still a viable solution at this time. I find it better than throwing 2 month old code from a repo dealing with security into production. |
Magento 2 community has created a project to fix all problems related PHP 7.2:
I am pretty sure we can backport some of the solution adopted there ... in case there are enough folks here that want to keep Magento 1 alive ... |
Last time I checked (a while ago) M2 was still using mcrypt, with suppressed warnings, so they're not yet 7.2 ready: But we don't mind if they backport some of the solutions from us ;) Our M1 solution can be seen in our current develop branch, feel free to test, more info here We just can't find some free time to do final release, so if anyone can test a bit it would be really helpful !! We are concentrating on php 7.1, but everything implemented will solve most of 7.2 issues. |
Trust me... there’s interest. Now that magento 1.x has the rwd theme, some of the magic of magento2 has been brought back to the smaller dev teams (like us) that have a fairly well tested magento to crm / warehousing system that needs to be carefully rewritten and tested. We can offer the mobile experience now without the tech debt of redoing that system. (It may seem like we are putting it off but the primary goal was move to the “cloud” and “be mobile friendly”) |
Anyone having luck using this with 7.2? What is your experience? What types of warnings get generated? |
Any updates on this? Is there going to be an official Magento 1.x release? as per this:
|
That is absolutely awesome! Great work and keep it up.
Martin
… On Aug 29, 2018, at 2:42 AM, Craig Carnell ***@***.***> wrote:
Any updates on this? Is there going to be an official Magento 1.x release? as per this:
We're currently working with Magento directly on releasing the official PHP 7.2 patch. This will include some changes and lot of additional testing across versions, so we ask for a bit more of your patience. Hopefully, version 3.0 of this extension won't be needed anymore :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#126 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AL69GbajcRacwA5wnwU5ZcvEYRiJ47m-ks5uVmH0gaJpZM4QyENu>.
|
Agreed. This is good news. It will simplify my automated deployment script to not require pecl and the required building. |
I'm confused.. @craigcarnell asked for an update on developments, he wasn't saying there had been progress made? |
My thoughts taken from the comment:
I take it inchoo is working with magento for a fix for mcrypt to go into core.
Across versions = 1 & 2. The Inchoo_PHP7 won't be needed any longer. The Inchoo_PHP7 compatibility extension is for Magento 1, not 2. I could be wrong, but i'm just excited about the comment. It means something is happening. |
The "We're currently working with Magento" comment is from here, posted back in June. There may have been developments between then and now, which is what @craigcarnell was asking for an update on I think. To the best of my knowledge the develop branch (3.0.0) has fixes for PHP 7.1 and 7.2, but it's "untested" per @ivanweiler's earlier comment. |
I may be a candidate to do some testing soon. we are due to revisit our ecommerce site in the next few months. I may introduce V3.0 of Inchoo_PHP7 into our test cycle. I will need to review the code with our auditor to ensure there aren't any glaring security flaws but I don't see any myself. The thing is that I really would like to have the core fix first... Cart before the horse! |
https://wiki.php.net/rfc/mcrypt-viking-funeral
https://wiki.php.net/rfc/libsodium
I haven't tested anything in 7.2 yet..
#98
The text was updated successfully, but these errors were encountered: