Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Varien_Crypt_Mcrypt added PHP 7.3 support #655

Closed
wants to merge 1 commit into from

Conversation

Sekiphp
Copy link
Contributor

@Sekiphp Sekiphp commented Apr 9, 2019

Added support for PHP 7.3. Removed functions are deprecated as PHP 7.1 and removed in PHP 7.2.

More info in issue #654

protected function _getCipher()
{
$transition = [
(defined('MCRYPT_BLOWFISH') ? MCRYPT_BLOWFISH : 'blowfish') => 'bf-ecb',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sekiphp Sekiphp closed this Apr 11, 2019
@seansan
Copy link
Contributor

seansan commented Sep 28, 2020

@Sekiphp Can you explain how this works and why you closed this issue/pull?

We are having problems with CRYPT in M19.4.x LTS ... we tried the solution by @colinmollenhour #129 witht the title "If You're Typing the Word MCRYPT Into Your PHP Code, You're Doing It Wrong"

But the reality is ... people DO type the word mcrypt in their code and wont change it

So we've tried

Maybe I should type this into the issue itself for a better discussion there ... #129

But the long and the short is: we need to get this fixed. And Im not an expert in any coding/decoding algoritms ... ;(

What to do

@colinmollenhour
Copy link
Member

It is hard to pinpoint a specific example but I think this openssl method sometimes works and sometimes doesn't depending on the input and it has to do with the padding at the end of the string if I remember correctly.. It has been a while, though..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants