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

Remove mcrypt warning except for affected sites. #12733

Merged
merged 1 commit into from
Aug 29, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

We have a system check that warns people if mcrypt is not available. This refines that to only warn affected sites - ie. ones that have their smtp password stored in the database. There are no other places that core uses encryption so it's not appropriate for people to get messages if they are unaffected.

Before

Site on php 7.2 gets encryption warning, regardless of whether they have stored smtp passwords

After

Site on php 7.2 (or other site without mcrypt) only gets warning if they have stored smtp passwords

Technical Details

Extensions that wish to have a version of this should implement it themselves as
it is basically pretty trivial & it doesn't make sense to spam non-affected people

Comments

I also altered the wording as our php version recommendations have changed we no longer actively recommend mcrypt

Extensions that wish to have a version of this should implement it themselves as
it is basically pretty trivial & it doesn't make sense to spam non-affected people
@civibot
Copy link

civibot bot commented Aug 27, 2018

(Standard links)

@totten
Copy link
Member

totten commented Aug 28, 2018

Conceptual 👍. It reduces noise for unaffected configurations.

@seamuslee001
Copy link
Contributor

i agree with the change, I assume the question for me is if we aren't advocating mcrypt then what is the solution?

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 good question :-) I expressed my thoughts on #12697 (which basically add up to - this doesn't have to be solved in core )

@colemanw
Copy link
Member

I'm happy with this too.

@colemanw colemanw merged commit 6df07ae into civicrm:master Aug 29, 2018
@eileenmcnaughton eileenmcnaughton deleted the crypt2 branch August 29, 2018 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants