jaredcobb / ccb-core

Church Community Builder Core API - A WordPress plugin to sync your church data
http://www.wpccb.com
GNU General Public License v2.0
8 stars 5 forks source link

Encryption Error for Password #27

Open apollwebservices opened 5 years ago

apollwebservices commented 5 years ago

When trying to set up credentials (username, password, subdomain) I am getting an error that there is an issue trying to encrypt using sodium. I have the latest CCB Core plugin 1.0.7 and with WordPress 5.2.3.

excerpt from ccb_core_settings in wp_options table:

s:6:"errors";a:1:{s:15:"encrypt_failure";a:1:{i:0;s:44:"The string could not be encrypted via Sodium";}

jaredcobb commented 4 years ago

@conbracowebservices thanks for reporting this. The issue is with how PHP 5.6, 7.1, and 7.2/7.3 all implement different levels of support for the password encryption method I was using, depending on the hosting environment.

I have just released a new version that implements a more widely supported method. It should work in almost any environment. The only requirement is that your hosting platform needs to have the OpenSSL PHP module installed. It should be a very common module unless the platform hasn't been managed for a very long time. The plugin will warn you if it doesn't detect the module.

I know this is a very old issue, but if you are still interested in using this plugin I have a copy of 1.0.8 ready for testing and can be manually downloaded here https://github.com/jaredcobb/ccb-core/archive/master.zip. If you do happen to test, I'd love to hear the results or if you have any problems.

I plan to release this plugin after I have more time to test this week. Thanks!

apollwebservices commented 4 years ago

Thanks, I am still interested in this and will try version 1.0.8.

From: Jared Cobb notifications@github.com Reply-To: jaredcobb/ccb-core reply@reply.github.com Date: Monday, December 9, 2019 at 7:49 AM To: jaredcobb/ccb-core ccb-core@noreply.github.com Cc: Jean Johnson jean.johnson@conbraco.com, Mention mention@noreply.github.com Subject: Re: [jaredcobb/ccb-core] Encryption Error for Password (#27)

@conbracowebserviceshttps://github.com/conbracowebservices thanks for reporting this. The issue is with how PHP 5.6, 7.1, and 7.2/7.3 all implement different levels of support for the password encryption method I was using, depending on the hosting environment.

I have just released a new version that implements a more widely supported method. It should work in almost any environment. The only requirement is that your hosting platform needs to have the OpenSSL PHP module installed. It should be a very common module unless the platform hasn't been managed for a very long time. The plugin will warn you if it doesn't detect the module.

I know this is a very old issue, but if you are still interested in using this plugin I have a copy of 1.0.8 ready for testing and can be manually downloaded here https://github.com/jaredcobb/ccb-core/archive/master.zip. If you do happen to test, I'd love to hear the results or if you have any problems.

I plan to release this plugin after I have more time to test this week. Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/jaredcobb/ccb-core/issues/27?email_source=notifications&email_token=AFBSSSW655RL7JM5BE2ILTTQXY5FXA5CNFSM4IZXFS5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGJBYUY#issuecomment-563223635, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBSSSSVVJSUO453H4QXSRTQXY5FXANCNFSM4IZXFS5A.

Jean Johnson web services manager main: 704.847.9191 / direct: 704.841.6063 jean.johnson@conbraco.com Aalberts Integrated Piping Systems 701 Matthews-Mint Hill Rd / Matthews / NC 28105 / United States www.apollovalves.com