Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved (Urgent) 1.8.10 and bcrypt
#1
Not Solved
I made the switch to bcrypt in 1.8.6, and tonight upgraded from 1.8.7 to 1.8.10 and it looks like inc/functions_user.php was changed along the way. What are the edits I need to make to get this working again?

I don't know if the other files were changed, I'd imagine some were. I followed this guide

Really need help.


Edit:
List of files that are edited during this process:
  • \inc\functions_user.php
  • \inc\datahandlers\login.php
Reply
#2
Not Solved
There is this plugin that might be of use: https://community.mybb.com/mods.php?action=view&pid=831
Reply
#3
Not Solved
I'll give that a look, thanks. My biggest concern is that I don't know if the applied changes will work because the files look like they've changed quite a bit since 1.8.7. Really feeling like a fool right now Sad

In the worst case scenario, I'll just restore the backups I made prior to starting the upgrade.
Reply
#4
Not Solved
1.8.9 introduced changes related to how passwords are stored and compared to make it possible to implement e.g. bcrypt using plugin hooks only, i.e. without core edits: https://github.com/mybb/mybb/issues/2498

We're not aware of any new plugin that would make use of these new hooks yet besides the one I'm currently working on (that hopefully will be finished soon).

If you're considering rolling back to 1.8.7 you should at least apply security patches: (1.8.10 did not contain security patches)
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#5
Not Solved
Ahh, so that explains some of the changes I saw then, okay interesting.

I came across your reply (to the thread I linked to coincidentally) to a thread, but unfortunately I'm unable to use PHP 7 right now.

I'll apply those changes when I go back to 1.8.7, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)