-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
Replace mcrypt functionality with openssl #79
Comments
@cweagans, I don't know if as you suggested it use can be replate by openssl, but you may ask this to the xmlseclibs maintainer. btw, I saw your comments in that related post: |
Okay, I just assumed since it was required in this project's composer.json. I'll open an issue over at xmlseclibs. In the mean time, would #78 be okay? |
Once xmlseclibs does not require it, I will remove the dependence, but right now we require it. |
That seems....strange. Why is that the case? Wouldn't it be easier to add xmlseclibs as a composer dependency? |
Yes, some of our customers don't use composer so they can just copy the lib folder and use it in their projects. That was the initial reason. |
Apologies re-raising such an old issue, but with PHP 7.1 now released, mycrpt has (thankfully) been deprecated. It will be removed entirely in PHP 7.2 later this year. Mcrypt is abandonware and has been for around a decade, so serious efforts should be made to remove support for it completely in this package. I've taken a look at the xmlseclibs dependency which looks like it has been updated to remove the mcrypt dependency in PR101. |
@cweagans and @pitbulk, agreeing with @amochohan here to re-open this issue. |
As soon as xmlseclibs offers an alternative we will deprecate mcrypt here. |
@pitbulk - I've asked a question to xmlseclibs (shown in the reference above) but all is silent... So, I would greatly appreciate finding out if there has from a php-saml perspective been any change to status and proposed strategy for dealing with mcrypt deprecation since your comment in February? thanks so much! |
@rickyrocker I created 2 branches:
|
@pitbulk - thanks so much for letting me know! Just so I'm completely clear, my understandings of what you're saying above are as follows:
I would greatly appreciate it if you could confirm whether the above understandings are correct. Thanks again!! |
|
@pitbulk - Man your responses are too good - thank you again! One last question - I promise! :) We have a production SAML environment that has 3 primary requirements::
Against that backdrop it seems to me from your explanation that either 3.0.0 or remove_mcrypt would work. If my assessment is correct, then my inclination is to go with 3.0.0 as it is the master branch. Would you agree with this approach or do you think remove_mcrypt would be a better option? |
We plan to implement prs-7 on 3.0.0 so code will be quite different than the current available (but we may maintain main API methods), but no idea when I gonna have the required time to make this happen.. remove_mcrypt is simply the current branch without mcrypt dependency so will be easier to keep it updated from master (2.X) I have no reply to your question... |
remove_mcrypt it is then as we need to move on this pretty snappily :) Thank you again for your great responses @pitbulk - I really do appreciate it tremendously And also of course for providing such a great SAML implementation :) |
OpenSSL supports more cryptographic algorithms than mcrypt, and is installed by default on most PHP installations. Many distros are now removing support for the mcrypt extension, and mcrypt itself is completely unmaintained.
The text was updated successfully, but these errors were encountered: